Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.PsychrometricData.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002136/0.002136, allocations: 195.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001181, allocations: 59.92 kB / 278 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1909, allocations: 46.61 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3144/0.5053, allocations: 151 MB / 475.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.5066, allocations: 1.001 MB / 476.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.5067, allocations: 0 / 476.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.507, allocations: 69.61 kB / 476.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.5075, allocations: 275.7 kB / 477 MB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.5101, allocations: 1.13 MB / 478.1 MB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00428/0.5144, allocations: 7.159 MB / 485.2 MB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.5148, allocations: 260.5 kB / 485.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.518, allocations: 1.901 MB / 487.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.522, allocations: 1.953 MB / 489.4 MB, free: 12.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009807/0.523, allocations: 147 kB / 489.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00554/0.5286, allocations: 1.834 MB / 491.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.5307, allocations: 1.081 MB / 492.4 MB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002777/0.5335, allocations: 1.42 MB / 493.8 MB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007541/0.541, allocations: 4.512 MB / 498.3 MB, free: 9.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5411, allocations: 1.5 kB / 498.3 MB, free: 9.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5411, allocations: 2.406 kB / 498.3 MB, free: 9.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001183/0.5412, allocations: 0 / 498.3 MB, free: 9.004 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.01045/0.5517, allocations: 3.517 MB / 0.4901 GB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.5517, allocations: 7.281 kB / 0.4901 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.5538, allocations: 322.3 kB / 0.4904 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.5575, allocations: 1.328 MB / 0.4917 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.5576, allocations: 181.7 kB / 0.4919 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004908/0.5581, allocations: 237.7 kB / 0.4921 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006116/0.5643, allocations: 3.823 MB / 0.4958 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.5643, allocations: 2.656 kB / 0.4958 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.5647, allocations: 109.8 kB / 0.496 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.5647, allocations: 60.31 kB / 0.496 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008609/0.5734, allocations: 5.987 MB / 0.5019 GB, free: 0.543 MB / 398.1 MB 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.01973/0.5931, allocations: 11.18 MB / 0.5128 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007125/0.6003, allocations: 5.037 MB / 0.5177 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/0.604, allocations: 2.41 MB / 0.52 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/0.6046, allocations: 434.3 kB / 0.5205 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.6048, allocations: 94.62 kB / 0.5206 GB, free: 14.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 6.642e-06/0.6048, allocations: 0 / 0.5206 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.01043/0.6152, allocations: 5.82 MB / 0.5262 GB, free: 8.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.6154, allocations: 98.45 kB / 0.5263 GB, free: 8.492 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.6167, allocations: 0.8673 MB / 0.5272 GB, free: 7.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005569/0.6172, allocations: 105.7 kB / 0.5273 GB, free: 7.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.6176, allocations: 0.5152 MB / 0.5278 GB, free: 6.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001239/0.6189, allocations: 1.301 MB / 0.5291 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009444/0.6198, allocations: 0.6293 MB / 0.5297 GB, free: 5.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.62, allocations: 357.9 kB / 0.53 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002765/0.6227, allocations: 1.748 MB / 0.5317 GB, free: 2.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/0.6259, allocations: 2.258 MB / 0.5339 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.6323, allocations: 4.333 MB / 0.5381 GB, free: 12.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.6323, allocations: 8 kB / 0.5382 GB, free: 12.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007384/0.6397, allocations: 4.587 MB / 0.5426 GB, free: 7.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.6398, allocations: 8 kB / 0.5426 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.6398, allocations: 12 kB / 0.5427 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.432e-05/0.6398, allocations: 28 kB / 0.5427 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/0.6435, allocations: 0.7918 MB / 0.5435 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.946e-05/0.6436, allocations: 35.86 kB / 0.5435 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.6463, allocations: 424.5 kB / 0.5439 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/0.6466, allocations: 143.9 kB / 0.544 GB, free: 5.984 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001398/0.648, allocations: 0.7621 MB / 0.5448 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/0.6486, allocations: 209.8 kB / 0.545 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008858/0.6574, allocations: 5.167 MB / 0.55 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.6575, allocations: 40 kB / 0.5501 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.6575, allocations: 7.938 kB / 0.5501 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-05/0.6576, allocations: 19.92 kB / 0.5501 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004991/0.6626, allocations: 2.818 MB / 0.5528 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.6626, allocations: 0 / 0.5528 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003628/0.6662, allocations: 0.7294 MB / 0.5536 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-05/0.6663, allocations: 12 kB / 0.5536 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/0.6665, allocations: 91.97 kB / 0.5536 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-05/0.6666, allocations: 15.98 kB / 0.5537 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6666, allocations: 7.938 kB / 0.5537 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.6772, allocations: 7.217 MB / 0.5607 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/0.6778, allocations: 314 kB / 0.561 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/0.6782, allocations: 87.83 kB / 0.5611 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/0.6814, allocations: 295.5 kB / 0.5614 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006434/0.682, allocations: 318.8 kB / 0.5617 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004075/0.6825, allocations: 179.9 kB / 0.5619 GB, free: 3.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008568/0.6833, allocations: 0.6863 MB / 0.5625 GB, free: 2.973 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.6833, allocations: 4 kB / 0.5625 GB, free: 2.969 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002515/0.6859, allocations: 1.089 MB / 0.5636 GB, free: 1.879 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001183/0.687, allocations: 468.5 kB / 0.564 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006937/0.694, allocations: 4.273 MB / 0.5682 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.694, allocations: 5 kB / 0.5682 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.6974, allocations: 2.271 MB / 0.5704 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00537/0.7028, allocations: 1.225 MB / 0.5716 GB, free: 9.645 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.7144, allocations: 7.646 MB / 0.5791 GB, free: 1.969 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.7156, allocations: 1.845 MB / 0.5809 GB, free: 88 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005236/0.7209, allocations: 1.768 MB / 0.5826 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.7219, allocations: 287.3 kB / 0.5829 GB, free: 14.03 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7219, allocations: 0 / 0.5829 GB, free: 14.03 MB / 494.1 MB Notification: Performance of Templates: time 0.2325/0.9544, allocations: 61.05 MB / 0.6425 GB, free: 250.6 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.1_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)