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.007717/0.007717, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001663/0.001663, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.489/1.489, 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/package.mo): time 0.8322/0.8322, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 61.39 kB / 0.5814 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1703, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.5774/0.7477, allocations: 149.1 MB / 0.8053 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004957/0.7527, allocations: 3.613 MB / 0.8088 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.753, allocations: 1 kB / 0.8088 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.7535, allocations: 72.31 kB / 0.8089 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005097/0.7541, allocations: 136.4 kB / 0.809 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.7575, allocations: 1.044 MB / 0.8101 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.7579, allocations: 312.3 kB / 0.8103 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.042e-05/0.758, allocations: 19.7 kB / 0.8104 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.7584, allocations: 198.9 kB / 0.8106 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.7586, allocations: 136.1 kB / 0.8107 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.7587, allocations: 10.84 kB / 0.8107 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.7609, allocations: 1.218 MB / 0.8119 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.7611, allocations: 69.86 kB / 0.812 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.7612, allocations: 105.4 kB / 0.8121 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.7625, allocations: 0.6421 MB / 0.8127 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7625, allocations: 0 / 0.8127 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7626, allocations: 3.938 kB / 0.8127 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.7626, allocations: 5.422 kB / 0.8127 GB, free: 10.85 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.001302/0.7639, allocations: 0.5819 MB / 0.8133 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.7639, allocations: 9.125 kB / 0.8133 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.7652, allocations: 135.2 kB / 0.8134 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.7655, allocations: 219.1 kB / 0.8136 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.7655, allocations: 22.06 kB / 0.8136 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.7655, allocations: 16.06 kB / 0.8136 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.7662, allocations: 339.5 kB / 0.814 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7662, allocations: 0 / 0.814 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.7663, allocations: 11.03 kB / 0.814 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.7663, allocations: 14.58 kB / 0.814 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.7669, allocations: 324.2 kB / 0.8143 GB, free: 9.883 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.001702/0.7686, allocations: 1.108 MB / 0.8154 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.7691, allocations: 192.5 kB / 0.8156 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.7692, allocations: 85.95 kB / 0.8156 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/0.7698, allocations: 461.3 kB / 0.8161 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.7698, allocations: 36.55 kB / 0.8161 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.7698, allocations: 3.938 kB / 0.8161 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.0006689/0.7705, allocations: 260 kB / 0.8164 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.7705, allocations: 58.14 kB / 0.8164 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.7708, allocations: 202.3 kB / 0.8166 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.7708, allocations: 32.14 kB / 0.8167 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.7709, allocations: 141.3 kB / 0.8168 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.771, allocations: 69.75 kB / 0.8169 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.7711, allocations: 54.23 kB / 0.8169 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7712, allocations: 335.1 kB / 0.8172 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.7713, allocations: 80.25 kB / 0.8173 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.7715, allocations: 152.1 kB / 0.8174 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.7719, allocations: 248.3 kB / 0.8177 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7719, allocations: 0 / 0.8177 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005262/0.7724, allocations: 289.3 kB / 0.818 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.7724, allocations: 5.312 kB / 0.818 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7724, allocations: 5.344 kB / 0.818 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.7725, allocations: 2.656 kB / 0.818 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.7728, allocations: 64.5 kB / 0.818 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.7728, allocations: 9.281 kB / 0.818 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.773, allocations: 32.03 kB / 0.8181 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.7731, allocations: 14.81 kB / 0.8181 GB, free: 7.129 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.0001468/0.7732, allocations: 142.2 kB / 0.8182 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.7733, allocations: 24.08 kB / 0.8182 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.7738, allocations: 269.8 kB / 0.8185 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.7738, allocations: 10.67 kB / 0.8185 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7739, allocations: 3.938 kB / 0.8185 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.7739, allocations: 3.984 kB / 0.8185 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007214/0.7746, allocations: 0.581 MB / 0.8191 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7746, allocations: 11.98 kB / 0.8191 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.7748, allocations: 37.77 kB / 0.8191 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.7748, allocations: 2.781 kB / 0.8191 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.7748, allocations: 2.781 kB / 0.8191 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7748, allocations: 0 / 0.8191 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7748, allocations: 2.25 kB / 0.8191 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.7753, allocations: 347.8 kB / 0.8195 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.7755, allocations: 124.1 kB / 0.8196 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.7755, allocations: 6.031 kB / 0.8196 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.7758, allocations: 11.89 kB / 0.8196 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.7758, allocations: 9.984 kB / 0.8196 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.7759, allocations: 13.38 kB / 0.8196 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001244/0.776, allocations: 152.8 kB / 0.8198 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.776, allocations: 4 kB / 0.8198 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005876/0.7766, allocations: 116.8 kB / 0.8199 GB, free: 6.055 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.0004628/0.7771, allocations: 216.2 kB / 0.8201 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.7775, allocations: 214.1 kB / 0.8203 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7775, allocations: 0 / 0.8203 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.7776, allocations: 106.8 kB / 0.8204 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.7783, allocations: 98.45 kB / 0.8205 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.7791, allocations: 453.8 kB / 0.8209 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.7795, allocations: 0.7396 MB / 0.8217 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.7797, allocations: 62.42 kB / 0.8217 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.7798, allocations: 26.45 kB / 0.8217 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7798, allocations: 0 / 0.8217 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of Templates: time 0.01076/0.7906, allocations: 5.511 MB / 0.8271 GB, free: 2.078 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)