Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirProperties.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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirProperties") translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001872/0.001872, allocations: 187 kB / 17.34 MB, free: 5.719 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 62.8 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1507, allocations: 80.22 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.5649/0.7156, allocations: 149.1 MB / 0.806 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003467/0.7191, allocations: 3.609 MB / 0.8095 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.7193, allocations: 5.406 kB / 0.8095 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.7196, allocations: 71.05 kB / 0.8096 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.72, allocations: 129.8 kB / 0.8097 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.7223, allocations: 1.011 MB / 0.8107 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.7227, allocations: 324.3 kB / 0.811 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.7227, allocations: 17.61 kB / 0.811 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.7231, allocations: 189.5 kB / 0.8112 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.7233, allocations: 138 kB / 0.8113 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.7233, allocations: 11.97 kB / 0.8113 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.7252, allocations: 1.216 MB / 0.8125 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.7253, allocations: 61.81 kB / 0.8126 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.7254, allocations: 110.4 kB / 0.8127 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.7265, allocations: 0.6419 MB / 0.8133 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7265, allocations: 4 kB / 0.8133 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7265, allocations: 0 / 0.8133 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7265, allocations: 3.938 kB / 0.8133 GB, free: 10.94 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001127/0.7276, allocations: 0.5765 MB / 0.8139 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.7277, allocations: 9.75 kB / 0.8139 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.7289, allocations: 137.3 kB / 0.814 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.7292, allocations: 226.7 kB / 0.8142 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.7292, allocations: 19.56 kB / 0.8142 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.7292, allocations: 14.25 kB / 0.8143 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.7298, allocations: 339.5 kB / 0.8146 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7298, allocations: 6.609 kB / 0.8146 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.7299, allocations: 9.531 kB / 0.8146 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.7299, allocations: 14.08 kB / 0.8146 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.7304, allocations: 322.9 kB / 0.8149 GB, free: 9.965 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.7319, allocations: 1.112 MB / 0.816 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.7324, allocations: 191.5 kB / 0.8162 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.7325, allocations: 79.97 kB / 0.8163 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/0.7331, allocations: 465.2 kB / 0.8167 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.7331, allocations: 36.09 kB / 0.8167 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.7331, allocations: 3.938 kB / 0.8167 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.000624/0.7337, allocations: 260.6 kB / 0.817 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.7338, allocations: 57.5 kB / 0.8171 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.734, allocations: 206.9 kB / 0.8172 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.734, allocations: 31.86 kB / 0.8173 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.7341, allocations: 142.9 kB / 0.8174 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.7342, allocations: 73.03 kB / 0.8175 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/0.7343, allocations: 57.48 kB / 0.8175 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7344, allocations: 324.1 kB / 0.8178 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.7345, allocations: 72.78 kB / 0.8179 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.7347, allocations: 166.5 kB / 0.8181 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.735, allocations: 248.5 kB / 0.8183 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.735, allocations: 0 / 0.8183 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004757/0.7355, allocations: 283.5 kB / 0.8186 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.7355, allocations: 10.91 kB / 0.8186 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7355, allocations: 3.312 kB / 0.8186 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.7356, allocations: 4.875 kB / 0.8186 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.7358, allocations: 64.53 kB / 0.8187 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7358, allocations: 2.094 kB / 0.8187 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.7361, allocations: 35.34 kB / 0.8187 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.7361, allocations: 13.56 kB / 0.8187 GB, free: 7.211 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001482/0.7363, allocations: 137.6 kB / 0.8188 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.7364, allocations: 20.09 kB / 0.8189 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.7368, allocations: 282.1 kB / 0.8191 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.7369, allocations: 6.25 kB / 0.8191 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7369, allocations: 0 / 0.8191 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7369, allocations: 6.422 kB / 0.8191 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.7376, allocations: 0.5791 MB / 0.8197 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7376, allocations: 3.938 kB / 0.8197 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.7378, allocations: 41.3 kB / 0.8198 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7378, allocations: 2.844 kB / 0.8198 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.7378, allocations: 2.875 kB / 0.8198 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.7378, allocations: 3.188 kB / 0.8198 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7378, allocations: 2.656 kB / 0.8198 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.7383, allocations: 348 kB / 0.8201 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.7384, allocations: 127.1 kB / 0.8202 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.7385, allocations: 6.344 kB / 0.8202 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.7387, allocations: 8.125 kB / 0.8202 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.7388, allocations: 15.38 kB / 0.8202 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.7388, allocations: 17.73 kB / 0.8203 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001205/0.7389, allocations: 153.2 kB / 0.8204 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.739, allocations: 0 / 0.8204 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005077/0.7395, allocations: 111.5 kB / 0.8205 GB, free: 6.141 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004392/0.7399, allocations: 215.2 kB / 0.8207 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.7403, allocations: 204.2 kB / 0.8209 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7403, allocations: 4.125 kB / 0.8209 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.7405, allocations: 112.5 kB / 0.821 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.7411, allocations: 94.56 kB / 0.8211 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.7419, allocations: 493.6 kB / 0.8216 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.7422, allocations: 0.7394 MB / 0.8223 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.7423, allocations: 25.12 kB / 0.8223 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.7423, allocations: 0 / 0.8223 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of Templates: time 0.007253/0.7496, allocations: 4.373 MB / 0.8266 GB, free: 2.652 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & ./IDEAS_IDEAS.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)