Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009835/0.0009837, allocations: 90.52 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.006243/0.006243, allocations: 171.1 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.36/1.36, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004182/0.0004186, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3262/0.5403, allocations: 149 MB / 476 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.5416, allocations: 0.9899 MB / 477 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.5417, allocations: 3.938 kB / 477 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.5421, allocations: 72.31 kB / 477.1 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.5426, allocations: 272.8 kB / 477.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.5458, allocations: 1.134 MB / 478.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004851/0.5507, allocations: 7.149 MB / 485.6 MB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.551, allocations: 255.6 kB / 485.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.5541, allocations: 1.903 MB / 487.8 MB, free: 12.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.557, allocations: 1.955 MB / 489.7 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005003/0.5575, allocations: 143.2 kB / 489.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003587/0.5611, allocations: 1.836 MB / 491.7 MB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.5622, allocations: 1.08 MB / 492.8 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.5642, allocations: 1.443 MB / 494.2 MB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.5693, allocations: 4.482 MB / 498.7 MB, free: 9.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.5693, allocations: 5.766 kB / 498.7 MB, free: 9.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5693, allocations: 0 / 498.7 MB, free: 9.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.935e-05/0.5694, allocations: 4 kB / 498.7 MB, free: 9.441 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.007731/0.5771, allocations: 2.902 MB / 0.4899 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5771, allocations: 14.88 kB / 0.4899 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.5791, allocations: 327.8 kB / 0.4902 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.5815, allocations: 1.328 MB / 0.4915 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.5816, allocations: 183.3 kB / 0.4917 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004441/0.5821, allocations: 242.8 kB / 0.4919 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005842/0.5879, allocations: 3.817 MB / 0.4956 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.588, allocations: 3.984 kB / 0.4956 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.5884, allocations: 115.1 kB / 0.4957 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.5884, allocations: 60.66 kB / 0.4958 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008209/0.5966, allocations: 5.988 MB / 0.5016 GB, free: 2.848 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.01839/0.615, allocations: 11.19 MB / 0.5126 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/0.6217, allocations: 5.043 MB / 0.5175 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/0.6252, allocations: 2.409 MB / 0.5198 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005438/0.6257, allocations: 435.6 kB / 0.5203 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.959e-05/0.6258, allocations: 94.62 kB / 0.5204 GB, free: 2.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=390): time 1.354e-05/0.6259, allocations: 0 / 0.5204 GB, free: 2.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=390): time 0.009167/0.635, allocations: 5.808 MB / 0.526 GB, free: 12.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.6351, allocations: 94.47 kB / 0.5261 GB, free: 12.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.6362, allocations: 0.8712 MB / 0.527 GB, free: 11.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000404/0.6366, allocations: 105.7 kB / 0.5271 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.6369, allocations: 0.5142 MB / 0.5276 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.638, allocations: 1.309 MB / 0.5288 GB, free: 9.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/0.6384, allocations: 285.2 kB / 0.5291 GB, free: 9.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6385, allocations: 357.9 kB / 0.5295 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/0.6413, allocations: 1.748 MB / 0.5312 GB, free: 7.027 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/0.6447, allocations: 2.262 MB / 0.5334 GB, free: 4.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006446/0.6511, allocations: 4.325 MB / 0.5376 GB, free: 116 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.6512, allocations: 5.75 kB / 0.5376 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00754/0.6587, allocations: 4.586 MB / 0.5421 GB, free: 11.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.6588, allocations: 12 kB / 0.5421 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.6588, allocations: 12.81 kB / 0.5421 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.45e-05/0.6589, allocations: 28 kB / 0.5421 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/0.6626, allocations: 0.7918 MB / 0.5429 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.72e-05/0.6627, allocations: 39.81 kB / 0.5429 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/0.6657, allocations: 420.6 kB / 0.5433 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005171/0.6662, allocations: 147.9 kB / 0.5435 GB, free: 10.05 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.001804/0.668, allocations: 0.7621 MB / 0.5442 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005971/0.6686, allocations: 213.7 kB / 0.5444 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00968/0.6783, allocations: 5.159 MB / 0.5495 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.238e-05/0.6784, allocations: 44 kB / 0.5495 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.6784, allocations: 3.938 kB / 0.5495 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/0.6784, allocations: 19.92 kB / 0.5495 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.6837, allocations: 2.824 MB / 0.5523 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/0.6837, allocations: 0 / 0.5523 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003525/0.6873, allocations: 0.7294 MB / 0.553 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.091e-05/0.6873, allocations: 16 kB / 0.553 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/0.6876, allocations: 89.81 kB / 0.5531 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/0.6876, allocations: 16 kB / 0.5531 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6876, allocations: 7.922 kB / 0.5531 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/0.6987, allocations: 7.217 MB / 0.5602 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007651/0.6995, allocations: 357.7 kB / 0.5605 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/0.6999, allocations: 72 kB / 0.5606 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/0.703, allocations: 303.5 kB / 0.5609 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006154/0.7037, allocations: 318.8 kB / 0.5612 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003736/0.704, allocations: 183.9 kB / 0.5614 GB, free: 7.684 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008531/0.7049, allocations: 0.6785 MB / 0.562 GB, free: 7.012 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7049, allocations: 0 / 0.562 GB, free: 7.012 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002491/0.7074, allocations: 1.097 MB / 0.5631 GB, free: 5.914 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.001167/0.7086, allocations: 471.1 kB / 0.5635 GB, free: 5.465 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006742/0.7153, allocations: 4.277 MB / 0.5677 GB, free: 1.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.7154, allocations: 9 kB / 0.5677 GB, free: 1.172 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003258/0.7186, allocations: 2.255 MB / 0.5699 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005982/0.7246, allocations: 1.233 MB / 0.5711 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.737, allocations: 7.984 MB / 0.5789 GB, free: 5.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.7384, allocations: 1.845 MB / 0.5807 GB, free: 3.773 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005553/0.744, allocations: 1.768 MB / 0.5825 GB, free: 2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.745, allocations: 291.3 kB / 0.5827 GB, free: 1.715 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.745, allocations: 0 / 0.5827 GB, free: 1.715 MB / 478.1 MB Notification: Performance of Templates: time 0.2404/0.9854, allocations: 60.47 MB / 0.6418 GB, free: 252 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)