Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009319/0.000932, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006516/0.006516, allocations: 171.1 kB / 16.27 MB, free: 6.66 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7992/0.7992, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4338, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001823/0.4356, allocations: 1.374 MB / 0.585 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.4364, allocations: 414.5 kB / 0.5854 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.4365, allocations: 1.469 kB / 0.5854 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.77e-05/0.4366, allocations: 7.516 kB / 0.5854 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.687e-05/0.4367, allocations: 20.97 kB / 0.5854 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.4371, allocations: 112.7 kB / 0.5855 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.4373, allocations: 100.1 kB / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.4374, allocations: 42.95 kB / 0.5857 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.4375, allocations: 37.19 kB / 0.5857 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.4376, allocations: 29.64 kB / 0.5857 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.4376, allocations: 4.219 kB / 0.5857 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.4378, allocations: 55.3 kB / 0.5858 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.4378, allocations: 15.12 kB / 0.5858 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.4379, allocations: 67.38 kB / 0.5859 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.4381, allocations: 117.2 kB / 0.586 GB, free: 2.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4381, allocations: 5.031 kB / 0.586 GB, free: 2.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4381, allocations: 4.75 kB / 0.586 GB, free: 2.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.4382, allocations: 0 / 0.586 GB, free: 2.461 MB / 430.1 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.0006547/0.4388, allocations: 405.1 kB / 0.5864 GB, free: 2.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4389, allocations: 9.516 kB / 0.5864 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.4391, allocations: 36.91 kB / 0.5864 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.4393, allocations: 195.9 kB / 0.5866 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.4394, allocations: 40.38 kB / 0.5866 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.4394, allocations: 5.969 kB / 0.5867 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.4398, allocations: 109.2 kB / 0.5868 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4398, allocations: 7.938 kB / 0.5868 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.4398, allocations: 9.156 kB / 0.5868 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4398, allocations: 1.188 kB / 0.5868 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.4401, allocations: 89.38 kB / 0.5869 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.4408, allocations: 392 kB / 0.5872 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.4414, allocations: 134.7 kB / 0.5874 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.4416, allocations: 52.55 kB / 0.5874 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.4416, allocations: 1.406 kB / 0.5874 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.4416, allocations: 36.23 kB / 0.5874 GB, free: 1.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.4416, allocations: 0 / 0.5874 GB, free: 1.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004689/0.4421, allocations: 149 kB / 0.5876 GB, free: 1.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.4421, allocations: 56.53 kB / 0.5876 GB, free: 1.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4422, allocations: 140 kB / 0.5878 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4423, allocations: 25.7 kB / 0.5878 GB, free: 1.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.4423, allocations: 103.3 kB / 0.5879 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.4423, allocations: 20.2 kB / 0.5879 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.4424, allocations: 17.31 kB / 0.5879 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.4424, allocations: 319.7 kB / 0.5882 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4426, allocations: 43.44 kB / 0.5883 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.4427, allocations: 47.91 kB / 0.5883 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.443, allocations: 92.42 kB / 0.5884 GB, free: 492 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.443, allocations: 1.25 kB / 0.5884 GB, free: 492 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002935/0.4433, allocations: 126.8 kB / 0.5885 GB, free: 428 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4433, allocations: 4.438 kB / 0.5885 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4433, allocations: 1.031 kB / 0.5885 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4433, allocations: 0.7812 kB / 0.5885 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4435, allocations: 24.47 kB / 0.5886 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4435, allocations: 0.75 kB / 0.5886 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.4436, allocations: 18.44 kB / 0.5886 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4436, allocations: 6.688 kB / 0.5886 GB, free: 412 kB / 430.1 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 6.568e-05/0.4437, allocations: 118.7 kB / 0.5887 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.4437, allocations: 9.047 kB / 0.5887 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.4438, allocations: 20.34 kB / 0.5887 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4438, allocations: 4.781 kB / 0.5887 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4438, allocations: 4.469 kB / 0.5887 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4438, allocations: 2.031 kB / 0.5887 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.444, allocations: 194.3 kB / 0.5889 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.444, allocations: 0 / 0.5889 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.4441, allocations: 26.91 kB / 0.589 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4441, allocations: 0 / 0.589 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4441, allocations: 1.375 kB / 0.589 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4441, allocations: 4.641 kB / 0.589 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4441, allocations: 4 kB / 0.589 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.4445, allocations: 218.7 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.4445, allocations: 92.36 kB / 0.5893 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.4446, allocations: 2.062 kB / 0.5893 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4447, allocations: 18.8 kB / 0.5893 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.4448, allocations: 4.875 kB / 0.5893 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4448, allocations: 7.062 kB / 0.5893 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.817e-05/0.4449, allocations: 106.2 kB / 0.5894 GB, free: 15.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4449, allocations: 1 kB / 0.5894 GB, free: 15.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.4452, allocations: 23.78 kB / 0.5894 GB, free: 15.66 MB / 446.1 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.0001081/0.4453, allocations: 96.95 kB / 0.5895 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.4456, allocations: 87.31 kB / 0.5896 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4456, allocations: 0.5 kB / 0.5896 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.4457, allocations: 42.3 kB / 0.5896 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.4461, allocations: 24.67 kB / 0.5897 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.4466, allocations: 234.3 kB / 0.5899 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.4468, allocations: 0.7013 MB / 0.5906 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.267e-05/0.4469, allocations: 8.391 kB / 0.5906 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.447, allocations: 19.97 kB / 0.5906 GB, free: 14.64 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.447, allocations: 0 / 0.5906 GB, free: 14.64 MB / 446.1 MB Notification: Performance of Templates: time 0.005005/0.452, allocations: 1.308 MB / 0.5919 GB, free: 14.55 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)