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.007152/0.007152, allocations: 102 kB / 15.73 MB, free: 6.488 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.001193/0.001193, allocations: 196 kB / 16.68 MB, free: 6.375 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001152/0.001152, allocations: 53.39 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.09034, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3743/0.4647, allocations: 153.1 MB / 0.5139 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.4665, allocations: 0.9517 MB / 0.5149 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.4667, allocations: 6.812 kB / 0.5149 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.4671, allocations: 89.11 kB / 0.515 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.4677, allocations: 289.1 kB / 0.5152 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.4713, allocations: 1.318 MB / 0.5165 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004411/0.4757, allocations: 5.596 MB / 0.522 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.4761, allocations: 260 kB / 0.5222 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.4797, allocations: 2.234 MB / 0.5244 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.4828, allocations: 1.975 MB / 0.5264 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005521/0.4834, allocations: 236 kB / 0.5266 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.4877, allocations: 1.935 MB / 0.5285 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.4894, allocations: 1.224 MB / 0.5297 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003129/0.4926, allocations: 1.561 MB / 0.5312 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006599/0.4992, allocations: 4.621 MB / 0.5357 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4992, allocations: 4 kB / 0.5357 GB, free: 348 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.4992, allocations: 0 / 0.5357 GB, free: 348 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.884e-05/0.4993, allocations: 0 / 0.5357 GB, free: 348 kB / 414.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.008723/0.5081, allocations: 3.522 MB / 0.5391 GB, free: 12.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5081, allocations: 8.031 kB / 0.5392 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.5099, allocations: 322.2 kB / 0.5395 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.5122, allocations: 1.343 MB / 0.5408 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.5124, allocations: 180.9 kB / 0.5409 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/0.5127, allocations: 243.9 kB / 0.5412 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006089/0.5188, allocations: 3.823 MB / 0.5449 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.5189, allocations: 0 / 0.5449 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003514/0.5193, allocations: 116 kB / 0.545 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.5193, allocations: 56.88 kB / 0.5451 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008559/0.5279, allocations: 5.99 MB / 0.5509 GB, free: 0.5781 MB / 430.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.01925/0.5472, allocations: 11.21 MB / 0.5619 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.5541, allocations: 5.034 MB / 0.5668 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.5576, allocations: 2.404 MB / 0.5691 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/0.5583, allocations: 439.3 kB / 0.5695 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.093e-05/0.5584, allocations: 94.62 kB / 0.5696 GB, free: 12.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 5.33e-06/0.5584, allocations: 0 / 0.5696 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01035/0.5687, allocations: 5.816 MB / 0.5753 GB, free: 6.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.5689, allocations: 90.47 kB / 0.5754 GB, free: 6.508 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.5701, allocations: 0.879 MB / 0.5763 GB, free: 5.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000524/0.5707, allocations: 101.7 kB / 0.5764 GB, free: 5.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.571, allocations: 0.5188 MB / 0.5769 GB, free: 4.988 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/0.5723, allocations: 1.301 MB / 0.5781 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009386/0.5732, allocations: 0.6216 MB / 0.5787 GB, free: 3.039 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5734, allocations: 361.6 kB / 0.5791 GB, free: 2.684 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/0.5762, allocations: 1.744 MB / 0.5808 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.5794, allocations: 2.262 MB / 0.583 GB, free: 14.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006578/0.586, allocations: 4.336 MB / 0.5872 GB, free: 10.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.586, allocations: 0 / 0.5872 GB, free: 10.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007714/0.5938, allocations: 4.59 MB / 0.5917 GB, free: 5.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.5938, allocations: 15.94 kB / 0.5917 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.5939, allocations: 12.06 kB / 0.5917 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.121e-05/0.5939, allocations: 28 kB / 0.5918 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/0.5976, allocations: 0.7917 MB / 0.5925 GB, free: 4.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.987e-05/0.5977, allocations: 35.88 kB / 0.5926 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.6, allocations: 356.6 kB / 0.5929 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/0.6003, allocations: 143.9 kB / 0.5931 GB, free: 4.023 MB / 478.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.001711/0.6021, allocations: 0.7621 MB / 0.5938 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006229/0.6027, allocations: 205.8 kB / 0.594 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008706/0.6114, allocations: 5.163 MB / 0.599 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/0.6115, allocations: 44 kB / 0.5991 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.6115, allocations: 3.938 kB / 0.5991 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/0.6115, allocations: 19.92 kB / 0.5991 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/0.6158, allocations: 2.823 MB / 0.6019 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.6159, allocations: 0 / 0.6019 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003501/0.6194, allocations: 0.7294 MB / 0.6026 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.726e-05/0.6194, allocations: 12 kB / 0.6026 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003245/0.6198, allocations: 95.95 kB / 0.6027 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-05/0.6198, allocations: 16 kB / 0.6027 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6198, allocations: 3.938 kB / 0.6027 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.6308, allocations: 7.217 MB / 0.6097 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007051/0.6315, allocations: 325.9 kB / 0.6101 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004213/0.6319, allocations: 79.84 kB / 0.6101 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003007/0.635, allocations: 223.8 kB / 0.6103 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006631/0.6356, allocations: 314.9 kB / 0.6106 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004315/0.6361, allocations: 180.6 kB / 0.6108 GB, free: 1.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008843/0.637, allocations: 0.6824 MB / 0.6115 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.637, allocations: 4 kB / 0.6115 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002855/0.6398, allocations: 1.085 MB / 0.6125 GB, free: 15.89 MB / 0.4981 GB 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.001312/0.6412, allocations: 488.7 kB / 0.613 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007461/0.6486, allocations: 4.3 MB / 0.6172 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/0.6487, allocations: 5 kB / 0.6172 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003224/0.6519, allocations: 2.267 MB / 0.6194 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005956/0.6579, allocations: 1.242 MB / 0.6206 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.6697, allocations: 6.639 MB / 0.6271 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.6711, allocations: 1.848 MB / 0.6289 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00492/0.676, allocations: 1.768 MB / 0.6307 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.677, allocations: 299.3 kB / 0.6309 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.677, allocations: 0 / 0.6309 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.2904/0.9675, allocations: 64.56 MB / 0.694 GB, free: 174.2 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)