Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005273/0.005273, allocations: 101.3 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7982/0.7982, allocations: 132.2 MB / 422.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.22 kB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1765, allocations: 80.2 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002469/0.179, allocations: 1.497 MB / 0.6611 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.1793, allocations: 131.6 kB / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.1794, allocations: 0 / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.1794, allocations: 3.938 kB / 0.6612 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.1795, allocations: 11.92 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1798, allocations: 67.84 kB / 0.6613 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1799, allocations: 59.83 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.18, allocations: 23.97 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.1801, allocations: 27.92 kB / 0.6614 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.1801, allocations: 23.91 kB / 0.6614 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1802, allocations: 8 kB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.1802, allocations: 4 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.1802, allocations: 11.97 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.1803, allocations: 27.86 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1804, allocations: 55.73 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1804, allocations: 3.938 kB / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1804, allocations: 4 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.1804, allocations: 4 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000516/0.1809, allocations: 375.2 kB / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.181, allocations: 8.031 kB / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.181, allocations: 4.938 kB / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1811, allocations: 164.3 kB / 0.6621 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.1812, allocations: 30.27 kB / 0.6621 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1812, allocations: 8.375 kB / 0.6621 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.1814, allocations: 78.2 kB / 0.6622 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1814, allocations: 3.938 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1814, allocations: 0 / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1815, allocations: 0 / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.1816, allocations: 51.89 kB / 0.6623 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.1822, allocations: 320.7 kB / 0.6626 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1823, allocations: 46.56 kB / 0.6626 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.1824, allocations: 28.92 kB / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1825, allocations: 3.938 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1825, allocations: 42.56 kB / 0.6627 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1825, allocations: 0 / 0.6627 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003511/0.1828, allocations: 93.64 kB / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.1829, allocations: 51.41 kB / 0.6628 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.183, allocations: 105.9 kB / 0.6629 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.183, allocations: 29.64 kB / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.1831, allocations: 100.1 kB / 0.663 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.1831, allocations: 15.84 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.1831, allocations: 17.72 kB / 0.6631 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1832, allocations: 326.8 kB / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/0.1833, allocations: 23.92 kB / 0.6634 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/0.1834, allocations: 33.69 kB / 0.6634 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1836, allocations: 57.86 kB / 0.6635 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1836, allocations: 0 / 0.6635 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002154/0.1838, allocations: 89.59 kB / 0.6636 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1838, allocations: 4 kB / 0.6636 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1838, allocations: 3.984 kB / 0.6636 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1839, allocations: 0 / 0.6636 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.184, allocations: 16.03 kB / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.184, allocations: 0 / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.184, allocations: 15.88 kB / 0.6636 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1841, allocations: 0 / 0.6636 GB, free: 5.941 MB / 0.4981 GB 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 (5): * Single equations (assignments): 5 * 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.66e-05/0.1841, allocations: 118.7 kB / 0.6637 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1842, allocations: 4 kB / 0.6637 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1842, allocations: 12.02 kB / 0.6637 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1842, allocations: 0 / 0.6637 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.1842, allocations: 4 kB / 0.6637 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1842, allocations: 7.938 kB / 0.6638 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1844, allocations: 177.6 kB / 0.6639 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1844, allocations: 0 / 0.6639 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.1845, allocations: 8 kB / 0.6639 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1845, allocations: 0 / 0.6639 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1845, allocations: 3.984 kB / 0.6639 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1845, allocations: 0 / 0.6639 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1845, allocations: 4 kB / 0.6639 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1848, allocations: 179.4 kB / 0.6641 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1848, allocations: 77.11 kB / 0.6642 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.1848, allocations: 4 kB / 0.6642 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.185, allocations: 7.984 kB / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.185, allocations: 11.98 kB / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.185, allocations: 0 / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.1851, allocations: 91.22 kB / 0.6643 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1851, allocations: 7.938 kB / 0.6643 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002154/0.1853, allocations: 11.95 kB / 0.6643 GB, free: 5.121 MB / 0.4981 GB 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 (4): * Single equations (assignments): 4 * 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.0001146/0.1854, allocations: 99.23 kB / 0.6644 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1857, allocations: 51.89 kB / 0.6645 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1857, allocations: 0 / 0.6645 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.1858, allocations: 27.98 kB / 0.6645 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.186, allocations: 17.97 kB / 0.6645 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.1864, allocations: 137.4 kB / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1866, allocations: 0.6807 MB / 0.6653 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.1867, allocations: 4 kB / 0.6653 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.1867, allocations: 15.44 kB / 0.6653 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1867, allocations: 0 / 0.6653 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.002779/0.1895, allocations: 0.8066 MB / 0.6661 GB, free: 3.238 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)