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.007239/0.007239, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001627/0.001627, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7557/0.7557, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 65 kB / 0.5814 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1791, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1827/0.3618, allocations: 149.1 MB / 0.8053 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004218/0.3661, allocations: 3.617 MB / 0.8088 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.3663, allocations: 0 / 0.8088 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.3667, allocations: 67.62 kB / 0.8089 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.3671, allocations: 135.2 kB / 0.809 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.3698, allocations: 1.017 MB / 0.81 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.3702, allocations: 319.7 kB / 0.8103 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.172e-05/0.3703, allocations: 13.56 kB / 0.8103 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.3708, allocations: 187.2 kB / 0.8105 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.371, allocations: 135.5 kB / 0.8107 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.371, allocations: 8 kB / 0.8107 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.3732, allocations: 1.223 MB / 0.8119 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3733, allocations: 71.78 kB / 0.8119 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.3735, allocations: 111.5 kB / 0.812 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.3754, allocations: 0.6348 MB / 0.8127 GB, free: 272 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.649e-06/0.3754, allocations: 4 kB / 0.8127 GB, free: 268 kB / 0.6387 GB Notification: Performance of FrontEnd: time 3.377e-06/0.3754, allocations: 0 / 0.8127 GB, free: 268 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.3754, allocations: 0 / 0.8127 GB, free: 268 kB / 0.6387 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.3747/0.7501, allocations: 0.5928 MB / 0.8132 GB, free: 157 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7502, allocations: 9.156 kB / 0.8132 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.7515, allocations: 135.7 kB / 0.8134 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.7519, allocations: 220.7 kB / 0.8136 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.7519, allocations: 16.77 kB / 0.8136 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.752, allocations: 17.28 kB / 0.8136 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.7527, allocations: 339.8 kB / 0.8139 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.7527, allocations: 0 / 0.8139 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.7528, allocations: 14.09 kB / 0.814 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.7528, allocations: 20.56 kB / 0.814 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.7534, allocations: 318.4 kB / 0.8143 GB, free: 156.8 MB / 0.6387 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.001534/0.7549, allocations: 1.113 MB / 0.8154 GB, free: 156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.7554, allocations: 185.3 kB / 0.8155 GB, free: 156 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.7556, allocations: 83.31 kB / 0.8156 GB, free: 156 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/0.756, allocations: 457.5 kB / 0.8161 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.7561, allocations: 41.38 kB / 0.8161 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.7561, allocations: 0.7031 kB / 0.8161 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0006686/0.7567, allocations: 254.9 kB / 0.8163 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.7568, allocations: 56.7 kB / 0.8164 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.757, allocations: 206.6 kB / 0.8166 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.757, allocations: 32.12 kB / 0.8166 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.7571, allocations: 148.1 kB / 0.8168 GB, free: 155.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.7572, allocations: 79.72 kB / 0.8168 GB, free: 155.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.7573, allocations: 50.53 kB / 0.8169 GB, free: 155.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.7573, allocations: 330.8 kB / 0.8172 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.7575, allocations: 77.25 kB / 0.8173 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.7577, allocations: 162.9 kB / 0.8174 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.7581, allocations: 250.3 kB / 0.8177 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7581, allocations: 0.5938 kB / 0.8177 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006064/0.7587, allocations: 285.8 kB / 0.8179 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.7587, allocations: 7.047 kB / 0.818 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.7588, allocations: 4.906 kB / 0.818 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.7588, allocations: 4.094 kB / 0.818 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.7591, allocations: 63.3 kB / 0.818 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.7591, allocations: 8.609 kB / 0.818 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.7594, allocations: 32.05 kB / 0.8181 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.7594, allocations: 11.39 kB / 0.8181 GB, free: 154.4 MB / 0.6387 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.0001542/0.7596, allocations: 143.2 kB / 0.8182 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.7597, allocations: 22.94 kB / 0.8182 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.7604, allocations: 280.2 kB / 0.8185 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.7604, allocations: 6.781 kB / 0.8185 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.7604, allocations: 0.7031 kB / 0.8185 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7604, allocations: 0.75 kB / 0.8185 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009457/0.7614, allocations: 0.5748 MB / 0.8191 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7614, allocations: 0.625 kB / 0.8191 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.7616, allocations: 41.47 kB / 0.8191 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.7616, allocations: 3.75 kB / 0.8191 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.7616, allocations: 3.188 kB / 0.8191 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.7617, allocations: 6.312 kB / 0.8191 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7617, allocations: 1.812 kB / 0.8191 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.7623, allocations: 359.4 kB / 0.8195 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.7625, allocations: 118.5 kB / 0.8196 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.7625, allocations: 3.75 kB / 0.8196 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.7628, allocations: 16.19 kB / 0.8196 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.7628, allocations: 15.3 kB / 0.8196 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.7628, allocations: 14.33 kB / 0.8196 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001609/0.763, allocations: 155.3 kB / 0.8198 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.763, allocations: 0.5625 kB / 0.8198 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006301/0.7637, allocations: 121 kB / 0.8199 GB, free: 153.3 MB / 0.6387 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.0005048/0.7642, allocations: 220.8 kB / 0.8201 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.7647, allocations: 204.8 kB / 0.8203 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7647, allocations: 2.375 kB / 0.8203 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.7649, allocations: 105.8 kB / 0.8204 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.7656, allocations: 106 kB / 0.8205 GB, free: 153 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.7667, allocations: 458.4 kB / 0.8209 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.767, allocations: 0.7342 MB / 0.8217 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.7672, allocations: 59.11 kB / 0.8217 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.7673, allocations: 23.3 kB / 0.8217 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.7673, allocations: 0 / 0.8217 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.01156/0.7789, allocations: 5.509 MB / 0.8271 GB, free: 151 MB / 0.6387 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)