Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.0009359/0.0009359, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0009527/0.0009527, allocations: 173 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.959/0.959, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8301/0.8301, allocations: 154.6 MB / 415.6 MB, free: 0.5625 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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5215 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.594e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1492/0.1492, allocations: 143.4 MB / 0.6616 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1518, allocations: 2.099 MB / 0.6636 GB, free: 32 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.1521, allocations: 15.81 kB / 0.6637 GB, free: 16 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.1524, allocations: 83.34 kB / 0.6637 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.1536, allocations: 0.5557 MB / 0.6643 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.1546, allocations: 458.6 kB / 0.6647 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006467/0.1552, allocations: 0.5727 MB / 0.6653 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.1555, allocations: 173.6 kB / 0.6654 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.156, allocations: 315.1 kB / 0.6657 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.1564, allocations: 287 kB / 0.666 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.1564, allocations: 16 kB / 0.666 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006518/0.1571, allocations: 474.6 kB / 0.6665 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.512e-05/0.1572, allocations: 95.7 kB / 0.6666 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.1573, allocations: 91.77 kB / 0.6667 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.1579, allocations: 462.5 kB / 0.6671 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1579, allocations: 4 kB / 0.6671 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1579, allocations: 0 / 0.6671 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1579, allocations: 0 / 0.6671 GB, free: 12.47 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005911/0.1585, allocations: 0.6001 MB / 0.6677 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1585, allocations: 12.03 kB / 0.6677 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.1589, allocations: 104.5 kB / 0.6678 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1592, allocations: 241 kB / 0.668 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1592, allocations: 16.38 kB / 0.668 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1592, allocations: 20.38 kB / 0.6681 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1595, allocations: 227.7 kB / 0.6683 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1595, allocations: 0 / 0.6683 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1595, allocations: 15.98 kB / 0.6683 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1595, allocations: 4 kB / 0.6683 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.059e-05/0.1596, allocations: 63.83 kB / 0.6684 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.1606, allocations: 1.39 MB / 0.6697 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1607, allocations: 159.4 kB / 0.6699 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.1608, allocations: 62.42 kB / 0.6699 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.161, allocations: 63.92 kB / 0.67 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.161, allocations: 41.52 kB / 0.67 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.161, allocations: 0 / 0.67 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003028/0.1613, allocations: 137.3 kB / 0.6702 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1614, allocations: 162.2 kB / 0.6703 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1615, allocations: 247.1 kB / 0.6706 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1615, allocations: 33.7 kB / 0.6706 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.1616, allocations: 215.5 kB / 0.6708 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1617, allocations: 47.64 kB / 0.6708 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.1617, allocations: 47.34 kB / 0.6709 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1619, allocations: 0.504 MB / 0.6714 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.1619, allocations: 11.98 kB / 0.6714 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.162, allocations: 217 kB / 0.6716 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1621, allocations: 137 kB / 0.6717 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1621, allocations: 0 / 0.6717 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000195/0.1623, allocations: 145.2 kB / 0.6719 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1624, allocations: 8 kB / 0.6719 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1624, allocations: 0 / 0.6719 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1624, allocations: 4 kB / 0.6719 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1625, allocations: 44.17 kB / 0.6719 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1625, allocations: 7.938 kB / 0.6719 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.1626, allocations: 15.88 kB / 0.6719 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1626, allocations: 15.94 kB / 0.672 GB, free: 7.039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 9.073e-05/0.1627, allocations: 164.6 kB / 0.6721 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.1628, allocations: 27.78 kB / 0.6721 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.163, allocations: 138.7 kB / 0.6723 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.163, allocations: 8.031 kB / 0.6723 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.163, allocations: 3.938 kB / 0.6723 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.163, allocations: 4 kB / 0.6723 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.1636, allocations: 0.9225 MB / 0.6732 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1636, allocations: 0 / 0.6732 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.1637, allocations: 27.92 kB / 0.6732 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1637, allocations: 3.938 kB / 0.6732 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1637, allocations: 4 kB / 0.6732 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1637, allocations: 4 kB / 0.6732 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1637, allocations: 0 / 0.6732 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1639, allocations: 309 kB / 0.6735 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.164, allocations: 31.81 kB / 0.6736 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.164, allocations: 8.094 kB / 0.6736 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.164, allocations: 11.98 kB / 0.6736 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.1641, allocations: 15.92 kB / 0.6736 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1641, allocations: 4 kB / 0.6736 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.818e-05/0.1642, allocations: 176 kB / 0.6738 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1642, allocations: 0 / 0.6738 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003072/0.1645, allocations: 95.7 kB / 0.6738 GB, free: 4.973 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senStr.s) * 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 (11): * Single equations (assignments): 11 * 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.0002815/0.1647, allocations: 171 kB / 0.674 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.165, allocations: 71.53 kB / 0.6741 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.165, allocations: 0 / 0.6741 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.1651, allocations: 48.28 kB / 0.6741 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1654, allocations: 84.94 kB / 0.6742 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.1662, allocations: 480.9 kB / 0.6747 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.143e-05/0.1662, allocations: 92.3 kB / 0.6748 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.1663, allocations: 25.58 kB / 0.6748 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.1665, allocations: 134.1 kB / 0.6749 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.1665, allocations: 0 / 0.6749 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of Templates: time 0.2601/0.4265, allocations: 4.396 MB / 0.6792 GB, free: 64.17 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.253409620840102]