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.0007919/0.0007919, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004998/0.004998, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.426/1.426, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.000463/0.000463, allocations: 19.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 47.58 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3593/0.5614, allocations: 149 MB / 476 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.5629, allocations: 0.9947 MB / 477 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.5629, allocations: 0 / 477 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.5633, allocations: 72.67 kB / 477.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.5638, allocations: 275.8 kB / 477.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.5672, allocations: 1.132 MB / 478.5 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005196/0.5724, allocations: 7.147 MB / 485.6 MB, free: 13.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.5728, allocations: 260.5 kB / 485.9 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004067/0.5769, allocations: 1.898 MB / 487.8 MB, free: 12.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.5806, allocations: 1.963 MB / 489.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000715/0.5814, allocations: 143.3 kB / 489.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005108/0.5865, allocations: 1.834 MB / 491.7 MB, free: 11.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.588, allocations: 1.075 MB / 492.8 MB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.5906, allocations: 1.444 MB / 494.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006213/0.5968, allocations: 4.487 MB / 498.7 MB, free: 9.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5969, allocations: 3.938 kB / 498.7 MB, free: 9.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5969, allocations: 0 / 498.7 MB, free: 9.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.718e-05/0.597, allocations: 4 kB / 498.7 MB, free: 9.406 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.007969/0.6049, allocations: 2.905 MB / 0.4899 GB, free: 7.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.605, allocations: 11.56 kB / 0.4899 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.6069, allocations: 322.1 kB / 0.4902 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.6093, allocations: 1.333 MB / 0.4915 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.6094, allocations: 180.5 kB / 0.4917 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/0.6098, allocations: 243.1 kB / 0.4919 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005687/0.6155, allocations: 3.823 MB / 0.4956 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.6156, allocations: 0 / 0.4956 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.6159, allocations: 113.2 kB / 0.4957 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.616, allocations: 56.88 kB / 0.4958 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00804/0.624, allocations: 5.986 MB / 0.5016 GB, free: 2.82 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.01799/0.642, allocations: 11.19 MB / 0.5126 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006887/0.6489, allocations: 5.05 MB / 0.5175 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/0.6526, allocations: 2.409 MB / 0.5198 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.6532, allocations: 440.6 kB / 0.5203 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.6533, allocations: 98.61 kB / 0.5204 GB, free: 2.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=390): time 6.662e-06/0.6533, allocations: 0 / 0.5204 GB, free: 2.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=390): time 0.0105/0.6639, allocations: 5.804 MB / 0.526 GB, free: 12.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.664, allocations: 94.47 kB / 0.5261 GB, free: 12.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.6652, allocations: 0.8712 MB / 0.527 GB, free: 11.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005353/0.6657, allocations: 101.7 kB / 0.5271 GB, free: 11.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.6661, allocations: 0.5245 MB / 0.5276 GB, free: 10.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001428/0.6675, allocations: 1.3 MB / 0.5289 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.668, allocations: 289.2 kB / 0.5291 GB, free: 9.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6682, allocations: 353.9 kB / 0.5295 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.6711, allocations: 1.751 MB / 0.5312 GB, free: 7.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.6743, allocations: 2.254 MB / 0.5334 GB, free: 4.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006131/0.6804, allocations: 4.333 MB / 0.5376 GB, free: 92 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.6804, allocations: 4 kB / 0.5376 GB, free: 88 kB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007104/0.6875, allocations: 4.583 MB / 0.5421 GB, free: 11.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.6876, allocations: 13.86 kB / 0.5421 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.6876, allocations: 8.844 kB / 0.5421 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/0.6877, allocations: 28 kB / 0.5421 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003529/0.6912, allocations: 0.7957 MB / 0.5429 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-05/0.6913, allocations: 43.8 kB / 0.543 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/0.6938, allocations: 420.6 kB / 0.5434 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/0.6941, allocations: 147.9 kB / 0.5435 GB, free: 10.03 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.001323/0.6954, allocations: 0.7544 MB / 0.5442 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/0.6959, allocations: 213.7 kB / 0.5444 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008885/0.7048, allocations: 5.171 MB / 0.5495 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/0.7048, allocations: 44 kB / 0.5495 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.7049, allocations: 3.938 kB / 0.5495 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-05/0.7049, allocations: 19.92 kB / 0.5496 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/0.7096, allocations: 2.816 MB / 0.5523 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.7096, allocations: 8 kB / 0.5523 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00339/0.713, allocations: 0.7255 MB / 0.553 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.369e-05/0.713, allocations: 16 kB / 0.553 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/0.7133, allocations: 83.97 kB / 0.5531 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.955e-05/0.7133, allocations: 25.89 kB / 0.5531 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7133, allocations: 3.938 kB / 0.5531 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.7236, allocations: 7.217 MB / 0.5602 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.7243, allocations: 353.8 kB / 0.5605 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.7246, allocations: 79.98 kB / 0.5606 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/0.7277, allocations: 299.5 kB / 0.5609 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006003/0.7283, allocations: 314.8 kB / 0.5612 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003797/0.7287, allocations: 179.9 kB / 0.5614 GB, free: 7.672 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008275/0.7295, allocations: 0.6824 MB / 0.562 GB, free: 6.996 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7295, allocations: 0 / 0.562 GB, free: 6.996 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002393/0.7319, allocations: 1.097 MB / 0.5631 GB, free: 5.898 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.001112/0.733, allocations: 464.2 kB / 0.5635 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006736/0.7398, allocations: 4.269 MB / 0.5677 GB, free: 1.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.7398, allocations: 12.94 kB / 0.5677 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.7433, allocations: 2.263 MB / 0.5699 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00615/0.7495, allocations: 1.229 MB / 0.5711 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.762, allocations: 7.98 MB / 0.5789 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.7634, allocations: 1.845 MB / 0.5807 GB, free: 3.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005505/0.7689, allocations: 1.771 MB / 0.5825 GB, free: 1.992 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.7699, allocations: 295.3 kB / 0.5827 GB, free: 1.703 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7699, allocations: 0 / 0.5827 GB, free: 1.703 MB / 478.1 MB Notification: Performance of Templates: time 0.248/1.018, allocations: 60.46 MB / 0.6418 GB, free: 252 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)