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.0008124/0.0008124, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008851/0.000885, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6655/0.6655, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002544/0.0002544, allocations: 8 kB / 0.5034 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3345, allocations: 81.58 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001257/0.3358, allocations: 1.353 MB / 0.5844 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004988/0.3363, allocations: 384.9 kB / 0.5848 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.3364, allocations: 1.312 kB / 0.5848 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.463e-05/0.3365, allocations: 5.766 kB / 0.5848 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.3365, allocations: 26.52 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.3368, allocations: 99.03 kB / 0.5849 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3369, allocations: 94.05 kB / 0.585 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.337, allocations: 30.55 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.3371, allocations: 41.45 kB / 0.585 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.3371, allocations: 30.38 kB / 0.5851 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3371, allocations: 2.094 kB / 0.5851 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3373, allocations: 56.22 kB / 0.5851 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.3373, allocations: 15.17 kB / 0.5851 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.3373, allocations: 36.48 kB / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.3374, allocations: 88.2 kB / 0.5853 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3374, allocations: 0 / 0.5853 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3374, allocations: 0.7031 kB / 0.5853 GB, free: 2.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.3375, allocations: 0 / 0.5853 GB, free: 2.531 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.0003789/0.3378, allocations: 414.1 kB / 0.5857 GB, free: 2.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.3379, allocations: 8.719 kB / 0.5857 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.3381, allocations: 36.16 kB / 0.5857 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3382, allocations: 183.5 kB / 0.5859 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.3383, allocations: 40.94 kB / 0.5859 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3383, allocations: 4.562 kB / 0.5859 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.3385, allocations: 111.7 kB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3385, allocations: 1.766 kB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3385, allocations: 7.938 kB / 0.586 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3385, allocations: 6.484 kB / 0.586 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.3388, allocations: 91.81 kB / 0.5861 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.3393, allocations: 396.8 kB / 0.5865 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.3397, allocations: 137.6 kB / 0.5866 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3398, allocations: 47.78 kB / 0.5867 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.3399, allocations: 1.219 kB / 0.5867 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.3399, allocations: 32.12 kB / 0.5867 GB, free: 1.355 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.3399, allocations: 3.938 kB / 0.5867 GB, free: 1.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003492/0.3402, allocations: 153 kB / 0.5869 GB, free: 1.285 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.601e-05/0.3403, allocations: 52.19 kB / 0.5869 GB, free: 1.223 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.3403, allocations: 134 kB / 0.587 GB, free: 1.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3404, allocations: 29.7 kB / 0.5871 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.3404, allocations: 106.8 kB / 0.5872 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.3404, allocations: 16.38 kB / 0.5872 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.3404, allocations: 5.375 kB / 0.5872 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.3405, allocations: 319.3 kB / 0.5875 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.3406, allocations: 32.22 kB / 0.5875 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.3407, allocations: 56.31 kB / 0.5876 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/0.3408, allocations: 42.34 kB / 0.5876 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3408, allocations: 0 / 0.5876 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002225/0.341, allocations: 125.5 kB / 0.5877 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.341, allocations: 7.344 kB / 0.5878 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.341, allocations: 1.438 kB / 0.5878 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.341, allocations: 1.125 kB / 0.5878 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.3411, allocations: 23.8 kB / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3411, allocations: 9 kB / 0.5878 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.3412, allocations: 13.81 kB / 0.5878 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3412, allocations: 7.016 kB / 0.5878 GB, free: 0.5117 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.3413, allocations: 120.1 kB / 0.5879 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.3413, allocations: 8.047 kB / 0.5879 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.3414, allocations: 16.42 kB / 0.5879 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3414, allocations: 0 / 0.5879 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3414, allocations: 6.312 kB / 0.5879 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3414, allocations: 0 / 0.5879 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3415, allocations: 202.3 kB / 0.5881 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3415, allocations: 4.984 kB / 0.5881 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.3416, allocations: 17.73 kB / 0.5882 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3416, allocations: 1.312 kB / 0.5882 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3416, allocations: 4 kB / 0.5882 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3416, allocations: 0.9062 kB / 0.5882 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3417, allocations: 0.7031 kB / 0.5882 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3419, allocations: 219.1 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.342, allocations: 92.42 kB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.342, allocations: 0.5938 kB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3421, allocations: 19.16 kB / 0.5885 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.3422, allocations: 4.984 kB / 0.5885 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3422, allocations: 6.859 kB / 0.5885 GB, free: 15.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.638e-05/0.3422, allocations: 104.6 kB / 0.5886 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 0 / 0.5886 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.3425, allocations: 21.03 kB / 0.5886 GB, free: 15.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.759e-05/0.3425, allocations: 96.16 kB / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3428, allocations: 86.48 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3428, allocations: 1.281 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3429, allocations: 45.47 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3432, allocations: 26.09 kB / 0.5889 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.3436, allocations: 232.9 kB / 0.5891 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.3438, allocations: 0.6928 MB / 0.5898 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.561e-05/0.3439, allocations: 12.52 kB / 0.5898 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.3439, allocations: 11.81 kB / 0.5898 GB, free: 14.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3439, allocations: 3.938 kB / 0.5898 GB, free: 14.77 MB / 446.1 MB Notification: Performance of Templates: time 0.003183/0.3471, allocations: 1.268 MB / 0.591 GB, free: 14.66 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)