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.0007736/0.0007736, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009493/0.0009493, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9843/0.9843, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8748/0.8748, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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 1.393e-06/1.393e-06, allocations: 0 / 480.1 MB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.54e-05, allocations: 5.688 kB / 480.1 MB, free: 6.828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1418/0.1419, allocations: 146.2 MB / 0.6116 GB, free: 4.52 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.1447, allocations: 2.327 MB / 0.6138 GB, free: 2.188 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.145, allocations: 15.88 kB / 0.6138 GB, free: 2.172 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1453, allocations: 95.14 kB / 0.6139 GB, free: 2.078 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.1466, allocations: 0.6566 MB / 0.6146 GB, free: 1.418 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.1476, allocations: 0.522 MB / 0.6151 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0007281/0.1483, allocations: 0.7444 MB / 0.6158 GB, free: 148 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.1489, allocations: 242.8 kB / 0.616 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.1494, allocations: 398.9 kB / 0.6164 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.15, allocations: 386.9 kB / 0.6168 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.15, allocations: 28 kB / 0.6168 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007403/0.1508, allocations: 490.6 kB / 0.6173 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1509, allocations: 127.6 kB / 0.6174 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.151, allocations: 123.8 kB / 0.6175 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.1516, allocations: 0.5411 MB / 0.6181 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1516, allocations: 0 / 0.6181 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1516, allocations: 0 / 0.6181 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1516, allocations: 0 / 0.6181 GB, free: 13.84 MB / 0.5886 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.0006092/0.1522, allocations: 0.554 MB / 0.6186 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1523, allocations: 8.031 kB / 0.6186 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006435/0.1529, allocations: 188.3 kB / 0.6188 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1533, allocations: 248.7 kB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.1533, allocations: 80.62 kB / 0.6191 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.1534, allocations: 27.94 kB / 0.6191 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1537, allocations: 300.4 kB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1537, allocations: 0 / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1537, allocations: 12 kB / 0.6194 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1537, allocations: 8 kB / 0.6194 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1539, allocations: 86.23 kB / 0.6195 GB, free: 12.26 MB / 0.5886 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.0008893/0.1548, allocations: 0.8731 MB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1549, allocations: 122.9 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.155, allocations: 31.69 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.1552, allocations: 79.84 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1552, allocations: 34.56 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.1552, allocations: 0 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003127/0.1555, allocations: 128.3 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.1556, allocations: 55.41 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1557, allocations: 228.9 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1557, allocations: 29.7 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.1558, allocations: 173 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1558, allocations: 63.47 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.1559, allocations: 41.69 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.156, allocations: 334.7 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.156, allocations: 14.83 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.1561, allocations: 151.1 kB / 0.6218 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1562, allocations: 102 kB / 0.6219 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1562, allocations: 0 / 0.6219 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001974/0.1564, allocations: 128.3 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1564, allocations: 7.984 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1564, allocations: 0 / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1564, allocations: 4 kB / 0.622 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1566, allocations: 44.11 kB / 0.6221 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1566, allocations: 4 kB / 0.6221 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.1567, allocations: 19.83 kB / 0.6221 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.1567, allocations: 11.98 kB / 0.6221 GB, free: 9.434 MB / 0.5886 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 0.0001024/0.1568, allocations: 128.6 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.1569, allocations: 19.92 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.1571, allocations: 135.3 kB / 0.6224 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1571, allocations: 0 / 0.6224 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.1571, allocations: 4 kB / 0.6224 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1571, allocations: 0 / 0.6224 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007139/0.1578, allocations: 0.5232 MB / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1578, allocations: 0 / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-05/0.1579, allocations: 35.92 kB / 0.6229 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1579, allocations: 11.92 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1579, allocations: 7.938 kB / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1579, allocations: 0 / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1579, allocations: 4.078 kB / 0.6229 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1581, allocations: 312.1 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.1582, allocations: 31.78 kB / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1582, allocations: 11.94 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.1583, allocations: 4 kB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.1583, allocations: 19.97 kB / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1583, allocations: 4 kB / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.1584, allocations: 78.75 kB / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1584, allocations: 0 / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000295/0.1587, allocations: 111.7 kB / 0.6235 GB, free: 7.891 MB / 0.5886 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 (15): * Single equations (assignments): 15 * 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.0002767/0.1589, allocations: 156.1 kB / 0.6236 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.1591, allocations: 77.41 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1591, allocations: 4 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.1591, allocations: 48.7 kB / 0.6238 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1595, allocations: 110.7 kB / 0.6239 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.1604, allocations: 0.5486 MB / 0.6244 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.1605, allocations: 96.3 kB / 0.6245 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.1606, allocations: 41.92 kB / 0.6245 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.1609, allocations: 143.1 kB / 0.6247 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of SimCode: time 8.21e-07/0.1609, allocations: 0 / 0.6247 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of Templates: time 0.008256/0.1691, allocations: 5.655 MB / 0.6302 GB, free: 1.074 MB / 0.5886 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8847094206139445]