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.005886/0.005886, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.001175/0.001175, allocations: 197.3 kB / 16.68 MB, free: 5.934 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.406/1.406, allocations: 222.9 MB / 240.4 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.8152/0.8152, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 62.27 kB / 0.5814 GB, free: 23.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1648, allocations: 80.21 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.5603/0.7252, allocations: 149.1 MB / 0.8053 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003713/0.7289, allocations: 3.616 MB / 0.8088 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.7291, allocations: 0 / 0.8088 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.7294, allocations: 67.95 kB / 0.8089 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.7298, allocations: 142.9 kB / 0.809 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.7324, allocations: 1.03 MB / 0.81 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.7328, allocations: 324.2 kB / 0.8104 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.7328, allocations: 13.8 kB / 0.8104 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.7333, allocations: 203.2 kB / 0.8106 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.7335, allocations: 128.6 kB / 0.8107 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.7335, allocations: 10.06 kB / 0.8107 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.7355, allocations: 1.221 MB / 0.8119 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.7356, allocations: 72.8 kB / 0.812 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.7358, allocations: 107.3 kB / 0.8121 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.7373, allocations: 0.6402 MB / 0.8127 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7373, allocations: 2.156 kB / 0.8127 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7373, allocations: 4 kB / 0.8127 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.7373, allocations: 0 / 0.8127 GB, free: 10.95 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.001251/0.7386, allocations: 0.5775 MB / 0.8133 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7386, allocations: 9.625 kB / 0.8133 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.7399, allocations: 137.5 kB / 0.8134 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.7402, allocations: 221.5 kB / 0.8136 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.7402, allocations: 16.22 kB / 0.8136 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.7402, allocations: 19.84 kB / 0.8136 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.7408, allocations: 345.2 kB / 0.814 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.7408, allocations: 0 / 0.814 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.7408, allocations: 8.734 kB / 0.814 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.7409, allocations: 14.94 kB / 0.814 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.7414, allocations: 326.4 kB / 0.8143 GB, free: 9.973 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.001628/0.7431, allocations: 1.111 MB / 0.8154 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.7436, allocations: 197.2 kB / 0.8156 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.7437, allocations: 78.94 kB / 0.8156 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/0.7442, allocations: 463.3 kB / 0.8161 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7443, allocations: 36.66 kB / 0.8161 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.7443, allocations: 0 / 0.8161 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.000637/0.7449, allocations: 265.2 kB / 0.8164 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.745, allocations: 53.5 kB / 0.8164 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.7452, allocations: 211.1 kB / 0.8166 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.7452, allocations: 27.48 kB / 0.8167 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.7453, allocations: 147.2 kB / 0.8168 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.7454, allocations: 73.31 kB / 0.8169 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.7454, allocations: 57.64 kB / 0.8169 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7456, allocations: 328.1 kB / 0.8172 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.7457, allocations: 68.67 kB / 0.8173 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.7459, allocations: 162 kB / 0.8175 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.7462, allocations: 245.4 kB / 0.8177 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7462, allocations: 0 / 0.8177 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004859/0.7467, allocations: 285.5 kB / 0.818 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7467, allocations: 7.469 kB / 0.818 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7467, allocations: 2.75 kB / 0.818 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7467, allocations: 16.5 kB / 0.818 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.747, allocations: 64.22 kB / 0.818 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.747, allocations: 3.125 kB / 0.8181 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.7472, allocations: 32.44 kB / 0.8181 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.7473, allocations: 13.84 kB / 0.8181 GB, free: 7.219 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.0001319/0.7474, allocations: 137.2 kB / 0.8182 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.7476, allocations: 20.47 kB / 0.8182 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.748, allocations: 292.4 kB / 0.8185 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.748, allocations: 6.5 kB / 0.8185 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.748, allocations: 0 / 0.8185 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.748, allocations: 3.984 kB / 0.8185 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.7487, allocations: 0.5781 MB / 0.8191 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7487, allocations: 6.5 kB / 0.8191 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.7489, allocations: 33.61 kB / 0.8191 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.7489, allocations: 0 / 0.8191 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.749, allocations: 6.656 kB / 0.8191 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.749, allocations: 6.703 kB / 0.8191 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.749, allocations: 3.938 kB / 0.8192 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.7495, allocations: 336.1 kB / 0.8195 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.7496, allocations: 130.1 kB / 0.8196 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.7496, allocations: 7.125 kB / 0.8196 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.7499, allocations: 19.75 kB / 0.8196 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.7499, allocations: 9.484 kB / 0.8196 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.75, allocations: 13.47 kB / 0.8196 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001239/0.7501, allocations: 153.6 kB / 0.8198 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7501, allocations: 0 / 0.8198 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004806/0.7506, allocations: 108.4 kB / 0.8199 GB, free: 6.148 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.0004082/0.751, allocations: 222.9 kB / 0.8201 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.7514, allocations: 208.5 kB / 0.8203 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7514, allocations: 0 / 0.8203 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.7515, allocations: 107.8 kB / 0.8204 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.7521, allocations: 102.3 kB / 0.8205 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.7529, allocations: 463.2 kB / 0.8209 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.7532, allocations: 0.7318 MB / 0.8217 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.7534, allocations: 55.97 kB / 0.8217 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.7535, allocations: 28.62 kB / 0.8217 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.7535, allocations: 4 kB / 0.8217 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of Templates: time 0.00998/0.7635, allocations: 5.501 MB / 0.8271 GB, free: 2.168 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)