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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009184/0.009184, allocations: 101.5 kB / 15.73 MB, free: 5.586 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.00172/0.00172, allocations: 186.2 kB / 16.67 MB, free: 5.523 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8253/0.8253, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.78 kB / 0.5856 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1772, allocations: 80.94 MB / 0.6646 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003107/0.1803, allocations: 1.659 MB / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.1812, allocations: 402.8 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.737e-05/0.1813, allocations: 0 / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.1814, allocations: 7.875 kB / 0.6666 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.1815, allocations: 23.78 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.182, allocations: 115.6 kB / 0.6668 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1822, allocations: 111.6 kB / 0.6669 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1824, allocations: 39.92 kB / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.1825, allocations: 39.86 kB / 0.667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.1826, allocations: 47.77 kB / 0.667 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1826, allocations: 4 kB / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1828, allocations: 63.95 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.1828, allocations: 27.91 kB / 0.6671 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.1829, allocations: 47.73 kB / 0.6671 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1832, allocations: 135.6 kB / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1832, allocations: 0 / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1832, allocations: 0 / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.1832, allocations: 0 / 0.6673 GB, free: 3.105 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005934/0.1838, allocations: 419.1 kB / 0.6677 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1838, allocations: 13.09 kB / 0.6677 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.1841, allocations: 28.83 kB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1844, allocations: 192.2 kB / 0.6679 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.1845, allocations: 42.25 kB / 0.6679 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.1845, allocations: 8.312 kB / 0.6679 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.1848, allocations: 103.8 kB / 0.668 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1848, allocations: 3.938 kB / 0.668 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1848, allocations: 8 kB / 0.668 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1848, allocations: 4 kB / 0.6681 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.1851, allocations: 75.94 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.1858, allocations: 388.3 kB / 0.6685 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.1864, allocations: 126.6 kB / 0.6686 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1865, allocations: 44.86 kB / 0.6687 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.1865, allocations: 7.938 kB / 0.6687 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1866, allocations: 38.56 kB / 0.6687 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1866, allocations: 4 kB / 0.6687 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004231/0.187, allocations: 133.7 kB / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.187, allocations: 55.41 kB / 0.6689 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1872, allocations: 143.4 kB / 0.669 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1872, allocations: 25.7 kB / 0.669 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.1873, allocations: 100.2 kB / 0.6691 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1873, allocations: 31.64 kB / 0.6692 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.1873, allocations: 17.72 kB / 0.6692 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1874, allocations: 318.8 kB / 0.6695 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1876, allocations: 31.97 kB / 0.6695 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1877, allocations: 49.62 kB / 0.6696 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.1879, allocations: 77.69 kB / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1879, allocations: 0 / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002778/0.1882, allocations: 109.5 kB / 0.6697 GB, free: 328 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1882, allocations: 8 kB / 0.6698 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1882, allocations: 0 / 0.6698 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1883, allocations: 0 / 0.6698 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1884, allocations: 27.95 kB / 0.6698 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1884, allocations: 3.984 kB / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1885, allocations: 11.84 kB / 0.6698 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1885, allocations: 7.938 kB / 0.6698 GB, free: 268 kB / 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 (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.0001044/0.1886, allocations: 119.1 kB / 0.6699 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.1887, allocations: 7.906 kB / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.1887, allocations: 16.7 kB / 0.6699 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1887, allocations: 3.938 kB / 0.6699 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.1888, allocations: 0 / 0.6699 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1888, allocations: 8 kB / 0.67 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.189, allocations: 197.6 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.189, allocations: 0 / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1891, allocations: 23.92 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1892, allocations: 4 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1892, allocations: 0 / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1892, allocations: 3.938 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1892, allocations: 0 / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.1895, allocations: 199.4 kB / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.1896, allocations: 85.02 kB / 0.6704 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1896, allocations: 7.922 kB / 0.6705 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1898, allocations: 11.92 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.1898, allocations: 8 kB / 0.6705 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1899, allocations: 4 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.86e-05/0.1899, allocations: 109 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.19, allocations: 4 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002683/0.1902, allocations: 16 kB / 0.6706 GB, free: 15.36 MB / 0.5137 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 (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.0001329/0.1904, allocations: 99.25 kB / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1907, allocations: 75.88 kB / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1907, allocations: 4 kB / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1908, allocations: 40.81 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1912, allocations: 28.12 kB / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.1918, allocations: 206.8 kB / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1921, allocations: 0.7001 MB / 0.6717 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.223e-05/0.1922, allocations: 12.66 kB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.1922, allocations: 11.44 kB / 0.6717 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of SimCode: time 6.42e-07/0.1922, allocations: 7.938 kB / 0.6717 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.00412/0.1963, allocations: 1.445 MB / 0.6732 GB, free: 12.69 MB / 0.5137 GB 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)