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.004949/0.004949, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001143/0.001143, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001365/0.001365, allocations: 54.64 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4118/0.5273, allocations: 153.1 MB / 0.5139 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.5291, allocations: 0.9551 MB / 0.5149 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.5293, allocations: 7.938 kB / 0.5149 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.5299, allocations: 81.3 kB / 0.515 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006875/0.5306, allocations: 290.3 kB / 0.5152 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004335/0.5349, allocations: 1.308 MB / 0.5165 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005339/0.5403, allocations: 5.607 MB / 0.522 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004662/0.5408, allocations: 256 kB / 0.5222 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/0.5455, allocations: 2.238 MB / 0.5244 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004447/0.55, allocations: 1.963 MB / 0.5263 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007177/0.5507, allocations: 240 kB / 0.5266 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004552/0.5553, allocations: 1.93 MB / 0.5285 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001733/0.557, allocations: 1.228 MB / 0.5297 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004275/0.5613, allocations: 1.565 MB / 0.5312 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006705/0.568, allocations: 4.625 MB / 0.5357 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5681, allocations: 0 / 0.5357 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5681, allocations: 4 kB / 0.5357 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001343/0.5682, allocations: 0 / 0.5357 GB, free: 0.5117 MB / 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.01037/0.5786, allocations: 3.522 MB / 0.5391 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5787, allocations: 12.02 kB / 0.5392 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.5807, allocations: 314.2 kB / 0.5395 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.5834, allocations: 1.347 MB / 0.5408 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.5836, allocations: 176.9 kB / 0.5409 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004177/0.584, allocations: 243.9 kB / 0.5412 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006853/0.5909, allocations: 3.823 MB / 0.5449 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/0.5909, allocations: 0 / 0.5449 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.5913, allocations: 115.9 kB / 0.545 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.5913, allocations: 63.19 kB / 0.5451 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.6015, allocations: 5.986 MB / 0.5509 GB, free: 0.7539 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.02509/0.6266, allocations: 11.21 MB / 0.5619 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008479/0.6351, allocations: 5.034 MB / 0.5668 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/0.639, allocations: 2.404 MB / 0.5691 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006964/0.6397, allocations: 439.3 kB / 0.5696 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.6398, allocations: 94.62 kB / 0.5696 GB, free: 12.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 1.083e-05/0.6399, allocations: 0 / 0.5696 GB, free: 12.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01073/0.6506, allocations: 5.816 MB / 0.5753 GB, free: 6.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.6507, allocations: 94.47 kB / 0.5754 GB, free: 6.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.6519, allocations: 0.8712 MB / 0.5763 GB, free: 5.797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004882/0.6524, allocations: 105.7 kB / 0.5764 GB, free: 5.688 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.6528, allocations: 0.5149 MB / 0.5769 GB, free: 5.164 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.6541, allocations: 1.301 MB / 0.5781 GB, free: 3.844 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.6553, allocations: 0.6255 MB / 0.5787 GB, free: 3.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6554, allocations: 357.6 kB / 0.5791 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.6585, allocations: 1.748 MB / 0.5808 GB, free: 1.109 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003647/0.6621, allocations: 2.258 MB / 0.583 GB, free: 14.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/0.6692, allocations: 4.333 MB / 0.5872 GB, free: 10.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.6692, allocations: 4 kB / 0.5872 GB, free: 10.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008837/0.6781, allocations: 4.59 MB / 0.5917 GB, free: 5.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.6781, allocations: 8 kB / 0.5917 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.6782, allocations: 12.06 kB / 0.5917 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.376e-05/0.6782, allocations: 32 kB / 0.5918 GB, free: 5.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/0.682, allocations: 0.7878 MB / 0.5925 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-05/0.6821, allocations: 35.88 kB / 0.5926 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.6848, allocations: 356.6 kB / 0.5929 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/0.6852, allocations: 151.9 kB / 0.5931 GB, free: 4.195 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.002218/0.6875, allocations: 0.766 MB / 0.5938 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/0.6887, allocations: 205.8 kB / 0.594 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.6994, allocations: 5.163 MB / 0.599 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/0.6995, allocations: 40 kB / 0.5991 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/0.6995, allocations: 3.938 kB / 0.5991 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.233e-05/0.6996, allocations: 19.92 kB / 0.5991 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005009/0.7046, allocations: 2.83 MB / 0.6019 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/0.7046, allocations: 0 / 0.6019 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003494/0.7081, allocations: 0.7255 MB / 0.6026 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.383e-05/0.7082, allocations: 16 kB / 0.6026 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003507/0.7086, allocations: 91.95 kB / 0.6027 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-05/0.7086, allocations: 12.88 kB / 0.6027 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7086, allocations: 3.938 kB / 0.6027 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.7198, allocations: 7.221 MB / 0.6097 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.7204, allocations: 321.9 kB / 0.6101 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/0.7209, allocations: 87.81 kB / 0.6101 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/0.7237, allocations: 223.8 kB / 0.6104 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006301/0.7244, allocations: 314.9 kB / 0.6107 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005006/0.7249, allocations: 180.6 kB / 0.6108 GB, free: 1.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009871/0.7259, allocations: 0.6824 MB / 0.6115 GB, free: 1.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7259, allocations: 0 / 0.6115 GB, free: 1.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002958/0.7289, allocations: 1.089 MB / 0.6126 GB, free: 56 kB / 494.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.001425/0.7303, allocations: 479.6 kB / 0.613 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007618/0.7379, allocations: 4.3 MB / 0.6172 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.738, allocations: 5 kB / 0.6172 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003558/0.7415, allocations: 2.267 MB / 0.6194 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005556/0.7471, allocations: 1.25 MB / 0.6206 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.7601, allocations: 6.631 MB / 0.6271 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.762, allocations: 1.848 MB / 0.6289 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007625/0.7697, allocations: 1.768 MB / 0.6307 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/0.7718, allocations: 303.3 kB / 0.6309 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of SimCode: time 1.513e-06/0.7718, allocations: 0 / 0.6309 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.2925/1.064, allocations: 64.56 MB / 0.694 GB, free: 174.9 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)