Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0007685/0.0007684, allocations: 90.48 kB / 16.31 MB, free: 6.453 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.0008183/0.000818, allocations: 180.7 kB / 17.21 MB, free: 6.328 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.477/1.477, allocations: 205.4 MB / 223.4 MB, free: 5.582 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.0006233/0.0006233, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2361, allocations: 47.59 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3511/0.5873, allocations: 138.9 MB / 466.6 MB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.5892, allocations: 0.9121 MB / 467.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.5895, allocations: 3.938 kB / 467.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.5899, allocations: 56.47 kB / 467.6 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.591, allocations: 282.1 kB / 467.8 MB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.5958, allocations: 1.019 MB / 468.9 MB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007702/0.6035, allocations: 5.99 MB / 474.8 MB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007333/0.6043, allocations: 256.2 kB / 475.1 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.6091, allocations: 1.924 MB / 477 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005366/0.6145, allocations: 2.047 MB / 479.1 MB, free: 1.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.6159, allocations: 142.7 kB / 479.2 MB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007324/0.6232, allocations: 1.551 MB / 480.8 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003273/0.6265, allocations: 1.088 MB / 481.8 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002501/0.6291, allocations: 0.4946 MB / 482.3 MB, free: 17.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007501/0.6366, allocations: 3.292 MB / 485.6 MB, free: 17.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.6367, allocations: 0 / 485.6 MB, free: 17.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6367, allocations: 5.156 kB / 485.6 MB, free: 17.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.6369, allocations: 4 kB / 485.6 MB, free: 17.11 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.01514/0.652, allocations: 2.923 MB / 488.6 MB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6521, allocations: 12 kB / 488.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00412/0.6562, allocations: 328.3 kB / 488.9 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005379/0.6616, allocations: 1.318 MB / 490.2 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.662, allocations: 182.8 kB / 490.4 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.6633, allocations: 242.9 kB / 490.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.6776, allocations: 3.798 MB / 494.4 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.6778, allocations: 0 / 494.4 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001657/0.6795, allocations: 115.4 kB / 494.5 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.752e-05/0.6796, allocations: 57.22 kB / 494.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/0.6984, allocations: 5.977 MB / 0.4888 GB, free: 12.21 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.03419/0.7326, allocations: 11.17 MB / 0.4998 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006957/0.7396, allocations: 5.018 MB / 0.5047 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003494/0.7431, allocations: 2.393 MB / 0.507 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.7437, allocations: 442.3 kB / 0.5074 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.294e-05/0.7438, allocations: 94.97 kB / 0.5075 GB, free: 13.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=390): time 5.881e-06/0.7438, allocations: 0 / 0.5075 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=390): time 0.009216/0.753, allocations: 5.777 MB / 0.5131 GB, free: 9.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.7532, allocations: 94.47 kB / 0.5132 GB, free: 9.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.7543, allocations: 0.8732 MB / 0.5141 GB, free: 8.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004603/0.7548, allocations: 102.5 kB / 0.5142 GB, free: 8.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.7551, allocations: 0.51 MB / 0.5147 GB, free: 8.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.7565, allocations: 1.304 MB / 0.516 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.7567, allocations: 73 kB / 0.516 GB, free: 7.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003664/0.7571, allocations: 0.4993 MB / 0.5165 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/0.7599, allocations: 1.736 MB / 0.5182 GB, free: 5.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003105/0.763, allocations: 2.242 MB / 0.5204 GB, free: 3.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.7662, allocations: 2.106 MB / 0.5225 GB, free: 1.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.7663, allocations: 4 kB / 0.5225 GB, free: 1.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007643/0.7739, allocations: 4.554 MB / 0.5269 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.774, allocations: 8 kB / 0.5269 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.774, allocations: 15.98 kB / 0.5269 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/0.7741, allocations: 32 kB / 0.527 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.7777, allocations: 0.7886 MB / 0.5277 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.027e-05/0.7778, allocations: 36.98 kB / 0.5278 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.7804, allocations: 431 kB / 0.5282 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.7807, allocations: 143.6 kB / 0.5283 GB, free: 13.08 MB / 430.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[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 initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001423/0.7822, allocations: 0.7624 MB / 0.5291 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/0.7827, allocations: 205.8 kB / 0.5293 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009154/0.7918, allocations: 5.181 MB / 0.5343 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/0.7919, allocations: 40 kB / 0.5343 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.7919, allocations: 0 / 0.5343 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.051e-05/0.792, allocations: 23.92 kB / 0.5344 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.7967, allocations: 2.822 MB / 0.5371 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.7967, allocations: 0 / 0.5371 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/0.8001, allocations: 0.7311 MB / 0.5378 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/0.8001, allocations: 14.73 kB / 0.5379 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/0.8004, allocations: 93.02 kB / 0.5379 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/0.8004, allocations: 12 kB / 0.538 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.8004, allocations: 4 kB / 0.538 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.8107, allocations: 7.184 MB / 0.545 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.8114, allocations: 359.3 kB / 0.5453 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.8118, allocations: 71.3 kB / 0.5454 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/0.8144, allocations: 308.6 kB / 0.5457 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004972/0.8149, allocations: 312.9 kB / 0.546 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003471/0.8153, allocations: 175.7 kB / 0.5461 GB, free: 15.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008134/0.8161, allocations: 0.6777 MB / 0.5468 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8161, allocations: 4 kB / 0.5468 GB, free: 14.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002409/0.8185, allocations: 1.083 MB / 0.5479 GB, free: 13.67 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.8195, allocations: 473.1 kB / 0.5483 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006124/0.8256, allocations: 4.25 MB / 0.5525 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.8257, allocations: 9 kB / 0.5525 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002986/0.8287, allocations: 2.252 MB / 0.5547 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005052/0.8337, allocations: 1.247 MB / 0.5559 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.8459, allocations: 7.768 MB / 0.5635 GB, free: 164 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.8473, allocations: 1.849 MB / 0.5653 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005674/0.853, allocations: 1.768 MB / 0.567 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009767/0.854, allocations: 292.6 kB / 0.5673 GB, free: 12.31 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.854, allocations: 0 / 0.5673 GB, free: 12.31 MB / 462.1 MB Notification: Performance of Templates: time 0.08825/0.9423, allocations: 58.53 MB / 0.6244 GB, free: 1.895 MB / 0.4981 GB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)