Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.0009575/0.0009575, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009473/0.0009473, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9516/0.9516, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8083/0.8083, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.38e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1538/0.1538, allocations: 143.4 MB / 0.6616 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1554, allocations: 0.8411 MB / 0.6624 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.1556, allocations: 15.88 kB / 0.6624 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1559, allocations: 71.36 kB / 0.6625 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.1567, allocations: 334.2 kB / 0.6628 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.1574, allocations: 315.2 kB / 0.6631 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.1579, allocations: 0.5532 MB / 0.6636 GB, free: 88 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.1582, allocations: 169.5 kB / 0.6638 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.1586, allocations: 303.1 kB / 0.6641 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.1591, allocations: 175.5 kB / 0.6642 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1591, allocations: 20 kB / 0.6643 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1593, allocations: 83.91 kB / 0.6643 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1594, allocations: 83.73 kB / 0.6644 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.1595, allocations: 83.83 kB / 0.6645 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1599, allocations: 243.1 kB / 0.6647 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1599, allocations: 0 / 0.6647 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1599, allocations: 0 / 0.6647 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.1599, allocations: 0 / 0.6647 GB, free: 14.95 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007403/0.1606, allocations: 0.5618 MB / 0.6653 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1607, allocations: 8.031 kB / 0.6653 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.639e-05/0.1607, allocations: 44.8 kB / 0.6653 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.1611, allocations: 225 kB / 0.6655 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1611, allocations: 12.38 kB / 0.6656 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.1611, allocations: 32.3 kB / 0.6656 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.1615, allocations: 246.7 kB / 0.6658 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1615, allocations: 4 kB / 0.6658 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1615, allocations: 4 kB / 0.6658 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1615, allocations: 8 kB / 0.6658 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.561e-05/0.1616, allocations: 52.58 kB / 0.6659 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.1626, allocations: 1.692 MB / 0.6675 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1628, allocations: 194.7 kB / 0.6677 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.1628, allocations: 70.11 kB / 0.6678 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.163, allocations: 27.95 kB / 0.6678 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.163, allocations: 53.31 kB / 0.6679 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.163, allocations: 0 / 0.6679 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002417/0.1632, allocations: 113.4 kB / 0.668 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.1633, allocations: 183.9 kB / 0.6682 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1634, allocations: 250.8 kB / 0.6684 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1634, allocations: 33.7 kB / 0.6684 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.1635, allocations: 210.9 kB / 0.6686 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.1636, allocations: 39.67 kB / 0.6687 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.1636, allocations: 39.38 kB / 0.6687 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1637, allocations: 0.5007 MB / 0.6692 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.1638, allocations: 8 kB / 0.6692 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.92e-05/0.1639, allocations: 213.9 kB / 0.6694 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.072e-05/0.1639, allocations: 105.4 kB / 0.6695 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1639, allocations: 0 / 0.6695 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001277/0.1641, allocations: 125.3 kB / 0.6696 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1641, allocations: 8 kB / 0.6696 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1641, allocations: 320 / 0.6696 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1641, allocations: 4 kB / 0.6696 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.1642, allocations: 35.92 kB / 0.6697 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.1642, allocations: 0 / 0.6697 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.1643, allocations: 23.88 kB / 0.6697 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1643, allocations: 4 kB / 0.6697 GB, free: 9.363 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.961e-05/0.1643, allocations: 172.7 kB / 0.6699 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.1644, allocations: 23.84 kB / 0.6699 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/0.1645, allocations: 78.81 kB / 0.67 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1645, allocations: 4 kB / 0.67 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1645, allocations: 0 / 0.67 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1645, allocations: 11.97 kB / 0.67 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.165, allocations: 0.8757 MB / 0.6708 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.165, allocations: 4 kB / 0.6708 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.1651, allocations: 20.14 kB / 0.6709 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1651, allocations: 4 kB / 0.6709 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1651, allocations: 4 kB / 0.6709 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1651, allocations: 4 kB / 0.6709 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1651, allocations: 3.938 kB / 0.6709 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1653, allocations: 294.1 kB / 0.6712 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.1653, allocations: 31.83 kB / 0.6712 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1653, allocations: 4 kB / 0.6712 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.1654, allocations: 11.98 kB / 0.6712 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.1654, allocations: 11.92 kB / 0.6712 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1654, allocations: 8.031 kB / 0.6712 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.1655, allocations: 168.5 kB / 0.6714 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1655, allocations: 0 / 0.6714 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002227/0.1657, allocations: 63.83 kB / 0.6714 GB, free: 7.469 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0001713/0.1659, allocations: 131.1 kB / 0.6716 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.166, allocations: 67.59 kB / 0.6716 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.166, allocations: 448 / 0.6716 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.166, allocations: 35.61 kB / 0.6717 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1663, allocations: 63.55 kB / 0.6717 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.167, allocations: 454 kB / 0.6722 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.167, allocations: 91.83 kB / 0.6722 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.991e-05/0.1671, allocations: 29.72 kB / 0.6723 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1672, allocations: 118.2 kB / 0.6724 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of SimCode: time 6.62e-07/0.1672, allocations: 0 / 0.6724 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.004716/0.1719, allocations: 3.023 MB / 0.6753 GB, free: 3.484 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.21051234100014]