Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.686/0.686, allocations: 133.4 MB / 150.1 MB, free: 11.12 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 404.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 111.4 kB / 485.9 MB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 55.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1659, allocations: 80.43 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004572/0.1705, allocations: 1.705 MB / 0.6438 GB, free: 3.699 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1717, allocations: 414.8 kB / 0.6442 GB, free: 3.293 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1718, allocations: 0 / 0.6442 GB, free: 3.293 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1721, allocations: 7.875 kB / 0.6442 GB, free: 3.285 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.319e-05/0.1722, allocations: 19.84 kB / 0.6442 GB, free: 3.266 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.1728, allocations: 113.8 kB / 0.6443 GB, free: 3.156 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.173, allocations: 107.6 kB / 0.6444 GB, free: 3.051 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1732, allocations: 43.95 kB / 0.6445 GB, free: 3.008 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1734, allocations: 35.86 kB / 0.6445 GB, free: 2.973 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.1735, allocations: 39.84 kB / 0.6446 GB, free: 2.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.1735, allocations: 4 kB / 0.6446 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.1738, allocations: 59.94 kB / 0.6446 GB, free: 2.871 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1738, allocations: 23.91 kB / 0.6446 GB, free: 2.848 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.1739, allocations: 39.73 kB / 0.6447 GB, free: 2.809 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.1742, allocations: 120 kB / 0.6448 GB, free: 2.691 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.1743, allocations: 0 / 0.6448 GB, free: 2.691 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1743, allocations: 0 / 0.6448 GB, free: 2.691 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1743, allocations: 0 / 0.6448 GB, free: 2.691 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008723/0.1752, allocations: 429.5 kB / 0.6452 GB, free: 2.223 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.1752, allocations: 8.031 kB / 0.6452 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.1755, allocations: 32.81 kB / 0.6452 GB, free: 2.184 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.1758, allocations: 200.1 kB / 0.6454 GB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-05/0.1759, allocations: 30.27 kB / 0.6455 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.176, allocations: 8.375 kB / 0.6455 GB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1763, allocations: 111.8 kB / 0.6456 GB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1763, allocations: 11.92 kB / 0.6456 GB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1763, allocations: 0 / 0.6456 GB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1763, allocations: 0 / 0.6456 GB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.1766, allocations: 83.88 kB / 0.6457 GB, free: 1.699 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.1774, allocations: 376.5 kB / 0.646 GB, free: 1.281 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.178, allocations: 138.5 kB / 0.6462 GB, free: 1.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.1781, allocations: 48.83 kB / 0.6462 GB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1782, allocations: 0 / 0.6462 GB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1782, allocations: 30.56 kB / 0.6462 GB, free: 1.047 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1782, allocations: 0 / 0.6462 GB, free: 1.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004536/0.1787, allocations: 133.6 kB / 0.6464 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1787, allocations: 55.41 kB / 0.6464 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1789, allocations: 138.7 kB / 0.6465 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1789, allocations: 29.7 kB / 0.6466 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.179, allocations: 100 kB / 0.6467 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.179, allocations: 27.64 kB / 0.6467 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.179, allocations: 21.72 kB / 0.6467 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1792, allocations: 326.8 kB / 0.647 GB, free: 184 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1793, allocations: 27.98 kB / 0.6471 GB, free: 156 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1794, allocations: 49.69 kB / 0.6471 GB, free: 100 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.1797, allocations: 77.75 kB / 0.6472 GB, free: 16 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1797, allocations: 0 / 0.6472 GB, free: 16 kB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002923/0.18, allocations: 113.6 kB / 0.6473 GB, free: 15.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.18, allocations: 4 kB / 0.6473 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.18, allocations: 0 / 0.6473 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.18, allocations: 11.98 kB / 0.6473 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1802, allocations: 23.86 kB / 0.6473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1802, allocations: 0 / 0.6473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.1803, allocations: 19.89 kB / 0.6473 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1803, allocations: 0 / 0.6473 GB, free: 15.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001216/0.1804, allocations: 121.8 kB / 0.6475 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.1805, allocations: 7.906 kB / 0.6475 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.1805, allocations: 20.66 kB / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1805, allocations: 3.938 kB / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1805, allocations: 0 / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1805, allocations: 3.984 kB / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.1808, allocations: 193.6 kB / 0.6477 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1808, allocations: 0 / 0.6477 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.858e-05/0.1809, allocations: 15.98 kB / 0.6477 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1809, allocations: 4 kB / 0.6477 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1809, allocations: 3.938 kB / 0.6477 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1809, allocations: 3.938 kB / 0.6477 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1809, allocations: 0 / 0.6477 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/0.1816, allocations: 0.7986 MB / 0.6485 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1817, allocations: 85.02 kB / 0.6486 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1817, allocations: 3.984 kB / 0.6486 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1819, allocations: 11.98 kB / 0.6486 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.1819, allocations: 0 / 0.6486 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.182, allocations: 8 kB / 0.6486 GB, free: 14.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.678e-05/0.182, allocations: 108.5 kB / 0.6487 GB, free: 14.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1821, allocations: 0 / 0.6487 GB, free: 14.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.1824, allocations: 16 kB / 0.6487 GB, free: 14.31 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001267/0.1825, allocations: 99.88 kB / 0.6488 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.1828, allocations: 75.89 kB / 0.6489 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1828, allocations: 0 / 0.6489 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1829, allocations: 36.12 kB / 0.6489 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.1834, allocations: 35.92 kB / 0.6489 GB, free: 14.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.184, allocations: 363.6 kB / 0.6493 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1843, allocations: 0.6965 MB / 0.65 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.707e-05/0.1843, allocations: 8.672 kB / 0.65 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.1844, allocations: 15.44 kB / 0.65 GB, free: 12.91 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1844, allocations: 0 / 0.65 GB, free: 12.91 MB / 458.7 MB Notification: Performance of Templates: time 0.003786/0.1882, allocations: 1.365 MB / 0.6513 GB, free: 11.57 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)