Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 169 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7884/0.7884, allocations: 154.6 MB / 414.9 MB, free: 0.6914 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 4 kB / 0.5204 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.926e-05, allocations: 4.734 kB / 0.5204 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.451/0.4511, allocations: 165.8 MB / 0.6823 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006107/0.4572, allocations: 7.402 MB / 0.6895 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.4576, allocations: 18.62 kB / 0.6895 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.4581, allocations: 177.6 kB / 0.6897 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.4607, allocations: 1.324 MB / 0.691 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.462, allocations: 0.7116 MB / 0.6917 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009127/0.4629, allocations: 0.7558 MB / 0.6924 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.4634, allocations: 251.4 kB / 0.6926 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.4647, allocations: 0.8441 MB / 0.6935 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007512/0.4655, allocations: 412.5 kB / 0.6939 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.4656, allocations: 25.94 kB / 0.6939 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.4673, allocations: 1.052 MB / 0.6949 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.4674, allocations: 123.9 kB / 0.695 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.4676, allocations: 126.8 kB / 0.6952 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.4693, allocations: 0.8277 MB / 0.696 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4693, allocations: 0 / 0.696 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4693, allocations: 4.281 kB / 0.696 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.4693, allocations: 0 / 0.696 GB, free: 47.15 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008451/0.4701, allocations: 0.7239 MB / 0.6967 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4702, allocations: 9.5 kB / 0.6967 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.4709, allocations: 189.9 kB / 0.6969 GB, free: 46.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.4713, allocations: 292 kB / 0.6971 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/0.4714, allocations: 76.28 kB / 0.6972 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.4714, allocations: 27.38 kB / 0.6972 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.4718, allocations: 316.6 kB / 0.6975 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4718, allocations: 4.094 kB / 0.6975 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.4719, allocations: 15.72 kB / 0.6976 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4719, allocations: 5.562 kB / 0.6976 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.472, allocations: 118.6 kB / 0.6977 GB, free: 46.21 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.4732, allocations: 1.255 MB / 0.6989 GB, free: 45.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.4733, allocations: 80.27 kB / 0.699 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.4734, allocations: 42.64 kB / 0.699 GB, free: 45.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/0.4738, allocations: 136 kB / 0.6992 GB, free: 45.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4738, allocations: 41.05 kB / 0.6992 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.455e-06/0.4738, allocations: 0 / 0.6992 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004512/0.4743, allocations: 168.5 kB / 0.6994 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.4743, allocations: 55 kB / 0.6994 GB, free: 45.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4745, allocations: 285 kB / 0.6997 GB, free: 45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.4745, allocations: 26.64 kB / 0.6997 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.4746, allocations: 241.1 kB / 0.6999 GB, free: 44.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.4746, allocations: 58.23 kB / 0.7 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.4747, allocations: 49.81 kB / 0.7 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.4747, allocations: 0.5052 MB / 0.7005 GB, free: 44.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.287e-05/0.4748, allocations: 24.97 kB / 0.7006 GB, free: 44.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4749, allocations: 176.3 kB / 0.7007 GB, free: 44.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.475, allocations: 129.5 kB / 0.7008 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.475, allocations: 0 / 0.7008 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002532/0.4753, allocations: 163.6 kB / 0.701 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4753, allocations: 6.656 kB / 0.701 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4753, allocations: 0 / 0.701 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4753, allocations: 5.047 kB / 0.701 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4754, allocations: 42.09 kB / 0.7011 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4754, allocations: 4.141 kB / 0.7011 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/0.4755, allocations: 16.39 kB / 0.7011 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.4755, allocations: 11.97 kB / 0.7011 GB, free: 43.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.4756, allocations: 172.8 kB / 0.7012 GB, free: 43.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.4757, allocations: 42.53 kB / 0.7013 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.476, allocations: 176.4 kB / 0.7015 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.476, allocations: 0 / 0.7015 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.476, allocations: 3.688 kB / 0.7015 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.476, allocations: 0 / 0.7015 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.4767, allocations: 0.6092 MB / 0.7021 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4767, allocations: 5.969 kB / 0.7021 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-05/0.4767, allocations: 38.98 kB / 0.7021 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4768, allocations: 9.312 kB / 0.7021 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4768, allocations: 7.25 kB / 0.7021 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4768, allocations: 5.875 kB / 0.7021 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.4768, allocations: 2.688 kB / 0.7021 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.477, allocations: 348.5 kB / 0.7025 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.4771, allocations: 49.41 kB / 0.7025 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.4771, allocations: 7.344 kB / 0.7025 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.4772, allocations: 13.97 kB / 0.7025 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.4773, allocations: 20.5 kB / 0.7025 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4773, allocations: 12.31 kB / 0.7026 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.072e-05/0.4774, allocations: 193.1 kB / 0.7027 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4774, allocations: 0.75 kB / 0.7027 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004611/0.4778, allocations: 134 kB / 0.7029 GB, free: 42.87 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003747/0.4782, allocations: 221 kB / 0.7031 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4784, allocations: 96.98 kB / 0.7032 GB, free: 42.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4784, allocations: 0 / 0.7032 GB, free: 42.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.4785, allocations: 57.67 kB / 0.7032 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.4789, allocations: 121.5 kB / 0.7033 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.4799, allocations: 0.5587 MB / 0.7039 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.48, allocations: 102 kB / 0.704 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.4802, allocations: 63.3 kB / 0.704 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.4802, allocations: 28.06 kB / 0.7041 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of SimCode: time 9.21e-07/0.4802, allocations: 0 / 0.7041 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.00802/0.4883, allocations: 6.097 MB / 0.71 GB, free: 41.91 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.495302888099104]