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.0009464/0.0009466, allocations: 93.17 kB / 16.65 MB, free: 6.535 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.0009448/0.0009448, allocations: 174 kB / 17.56 MB, free: 6.184 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.342/1.342, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0004287/0.0004289, allocations: 12 kB / 280.7 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.08136, allocations: 47.59 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3115/0.3929, allocations: 149 MB / 477.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3945, allocations: 0.9859 MB / 478.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.3946, allocations: 0 / 478.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.395, allocations: 78.62 kB / 478.4 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005425/0.3955, allocations: 270.8 kB / 478.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.3984, allocations: 1.13 MB / 479.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005814/0.4043, allocations: 7.161 MB / 486.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.4046, allocations: 254.1 kB / 487.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/0.4081, allocations: 1.897 MB / 489.1 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.4114, allocations: 1.959 MB / 491 MB, free: 6.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005746/0.412, allocations: 140 kB / 491.2 MB, free: 6.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.4157, allocations: 1.845 MB / 493 MB, free: 4.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.4169, allocations: 1.083 MB / 494.1 MB, free: 3.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002148/0.4191, allocations: 1.437 MB / 495.5 MB, free: 2.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005506/0.4246, allocations: 4.484 MB / 0.4883 GB, free: 13.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4247, allocations: 0 / 0.4883 GB, free: 13.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4247, allocations: 0 / 0.4883 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.4248, allocations: 4 kB / 0.4883 GB, free: 13.89 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.00814/0.4329, allocations: 2.902 MB / 0.4911 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.433, allocations: 12.02 kB / 0.4911 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.435, allocations: 326.2 kB / 0.4915 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.4376, allocations: 1.328 MB / 0.4927 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.4377, allocations: 184.9 kB / 0.4929 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000461/0.4382, allocations: 244.5 kB / 0.4932 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006259/0.4445, allocations: 3.818 MB / 0.4969 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.4445, allocations: 0 / 0.4969 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.4449, allocations: 116 kB / 0.497 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.445, allocations: 56 kB / 0.4971 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009233/0.4542, allocations: 5.99 MB / 0.5029 GB, free: 14.76 MB / 414.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.01928/0.4735, allocations: 11.19 MB / 0.5138 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006918/0.4805, allocations: 5.042 MB / 0.5188 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/0.484, allocations: 2.408 MB / 0.5211 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005414/0.4846, allocations: 435.3 kB / 0.5215 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.463e-05/0.4847, allocations: 99.38 kB / 0.5216 GB, free: 10.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 4.899e-06/0.4847, allocations: 0 / 0.5216 GB, free: 10.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009135/0.4938, allocations: 5.816 MB / 0.5273 GB, free: 4.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.4939, allocations: 90.47 kB / 0.5274 GB, free: 4.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4949, allocations: 0.8712 MB / 0.5282 GB, free: 3.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003266/0.4953, allocations: 105.7 kB / 0.5283 GB, free: 3.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.4956, allocations: 0.5149 MB / 0.5288 GB, free: 3.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000955/0.4966, allocations: 1.305 MB / 0.5301 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.497, allocations: 289.1 kB / 0.5304 GB, free: 1.566 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4971, allocations: 357.9 kB / 0.5307 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1544/0.6515, allocations: 1.74 MB / 0.5324 GB, free: 160.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/0.6556, allocations: 2.259 MB / 0.5346 GB, free: 160.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007563/0.6632, allocations: 4.33 MB / 0.5389 GB, free: 159.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/0.6633, allocations: 2.719 kB / 0.5389 GB, free: 159.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007516/0.6708, allocations: 4.593 MB / 0.5434 GB, free: 158.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.6709, allocations: 9.781 kB / 0.5434 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.6709, allocations: 10.16 kB / 0.5434 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.27e-05/0.671, allocations: 26.81 kB / 0.5434 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/0.6743, allocations: 0.7911 MB / 0.5442 GB, free: 158 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.095e-05/0.6744, allocations: 35.25 kB / 0.5442 GB, free: 158 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.6768, allocations: 432 kB / 0.5446 GB, free: 157.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.677, allocations: 145.5 kB / 0.5448 GB, free: 157.8 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[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.001178/0.6782, allocations: 0.7622 MB / 0.5455 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004493/0.6787, allocations: 208.4 kB / 0.5457 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007268/0.686, allocations: 5.179 MB / 0.5508 GB, free: 155.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.686, allocations: 39.25 kB / 0.5508 GB, free: 155.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.686, allocations: 3.75 kB / 0.5508 GB, free: 155.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.03e-05/0.6861, allocations: 19.92 kB / 0.5508 GB, free: 155.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/0.6896, allocations: 2.818 MB / 0.5536 GB, free: 152.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.6897, allocations: 1.25 kB / 0.5536 GB, free: 152.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/0.6926, allocations: 0.7333 MB / 0.5543 GB, free: 152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.066e-05/0.6927, allocations: 12 kB / 0.5543 GB, free: 152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.6929, allocations: 91.95 kB / 0.5544 GB, free: 151.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/0.6929, allocations: 21.03 kB / 0.5544 GB, free: 151.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6929, allocations: 0 / 0.5544 GB, free: 151.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008073/0.701, allocations: 7.214 MB / 0.5614 GB, free: 144.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.7015, allocations: 353.8 kB / 0.5618 GB, free: 144.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.7018, allocations: 71.98 kB / 0.5619 GB, free: 144.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/0.7047, allocations: 299.8 kB / 0.5621 GB, free: 143.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004953/0.7052, allocations: 321.5 kB / 0.5624 GB, free: 143.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002875/0.7055, allocations: 179.9 kB / 0.5626 GB, free: 143.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006376/0.7061, allocations: 0.6863 MB / 0.5633 GB, free: 142.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7061, allocations: 0 / 0.5633 GB, free: 142.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001975/0.7081, allocations: 1.088 MB / 0.5644 GB, free: 141.7 MB / 430.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.0009895/0.7091, allocations: 476 kB / 0.5648 GB, free: 141.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005271/0.7144, allocations: 4.285 MB / 0.569 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7144, allocations: 5 kB / 0.569 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.7169, allocations: 2.263 MB / 0.5712 GB, free: 134.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005279/0.7222, allocations: 1.222 MB / 0.5724 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.7326, allocations: 7.975 MB / 0.5802 GB, free: 125.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009078/0.7335, allocations: 1.853 MB / 0.582 GB, free: 123.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005083/0.7386, allocations: 1.764 MB / 0.5837 GB, free: 121.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009912/0.7396, allocations: 291.3 kB / 0.584 GB, free: 121.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.342e-06/0.7396, allocations: 0 / 0.584 GB, free: 121.5 MB / 430.1 MB Notification: Performance of Templates: time 0.06975/0.8094, allocations: 60.47 MB / 0.643 GB, free: 61.01 MB / 430.1 MB 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)