Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) 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(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001718/0.001718, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.636/1.636, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4411/0.4411, allocations: 54.94 MB / 324.3 MB, free: 124 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 64.47 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1551, allocations: 59.58 MB / 454.2 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Density_pTX): time 0.2573/0.4125, allocations: 1.546 MB / 455.8 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1438/0.5563, allocations: 129.9 MB / 0.572 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.5564, allocations: 4 kB / 0.572 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.5565, allocations: 3.938 kB / 0.572 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.5566, allocations: 7.922 kB / 0.572 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.557, allocations: 62.17 kB / 0.5721 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.5571, allocations: 51.73 kB / 0.5721 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.5572, allocations: 27.95 kB / 0.5721 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.5573, allocations: 19.92 kB / 0.5722 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.5573, allocations: 19.92 kB / 0.5722 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.5573, allocations: 0 / 0.5722 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.418e-05/0.5574, allocations: 23.48 kB / 0.5722 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.5574, allocations: 4 kB / 0.5722 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.5575, allocations: 23.86 kB / 0.5722 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.5576, allocations: 59.73 kB / 0.5723 GB, free: 4.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5576, allocations: 0 / 0.5723 GB, free: 4.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.5577, allocations: 4 kB / 0.5723 GB, free: 4.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.5577, allocations: 0 / 0.5723 GB, free: 4.383 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005329/0.5582, allocations: 369.4 kB / 0.5726 GB, free: 3.984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5583, allocations: 8.031 kB / 0.5726 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.5583, allocations: 9.469 kB / 0.5726 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5584, allocations: 180.2 kB / 0.5728 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.5584, allocations: 384 / 0.5728 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.5585, allocations: 4.375 kB / 0.5728 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.5587, allocations: 74.22 kB / 0.5729 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5587, allocations: 192 / 0.5729 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.5587, allocations: 11.92 kB / 0.5729 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5588, allocations: 0 / 0.5729 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.559, allocations: 67.92 kB / 0.573 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.5594, allocations: 276.8 kB / 0.5732 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.5596, allocations: 58.53 kB / 0.5733 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.5598, allocations: 39.73 kB / 0.5733 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.56, allocations: 93.17 kB / 0.5734 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.56, allocations: 34.56 kB / 0.5735 GB, free: 3.016 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.56, allocations: 0 / 0.5735 GB, free: 3.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005392/0.5606, allocations: 137.4 kB / 0.5736 GB, free: 2.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5606, allocations: 51.41 kB / 0.5736 GB, free: 2.812 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.5608, allocations: 114.7 kB / 0.5737 GB, free: 2.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5608, allocations: 33.69 kB / 0.5738 GB, free: 2.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.5608, allocations: 92.12 kB / 0.5739 GB, free: 2.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.5609, allocations: 7.812 kB / 0.5739 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.5609, allocations: 21.66 kB / 0.5739 GB, free: 2.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5611, allocations: 322.8 kB / 0.5742 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.5612, allocations: 31.97 kB / 0.5742 GB, free: 2.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.5614, allocations: 31.95 kB / 0.5743 GB, free: 2.137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.5616, allocations: 68.8 kB / 0.5743 GB, free: 2.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5616, allocations: 0.8125 kB / 0.5743 GB, free: 2.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003208/0.562, allocations: 101.5 kB / 0.5744 GB, free: 1.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.562, allocations: 4 kB / 0.5744 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.562, allocations: 0 / 0.5744 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.562, allocations: 0 / 0.5744 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5621, allocations: 15.98 kB / 0.5744 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5622, allocations: 4 kB / 0.5744 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.5623, allocations: 15.92 kB / 0.5745 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5623, allocations: 0.75 kB / 0.5745 GB, free: 1.922 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.725e-05/0.5624, allocations: 121.8 kB / 0.5746 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.5624, allocations: 4.234 kB / 0.5746 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.5628, allocations: 117.4 kB / 0.5747 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5628, allocations: 4 kB / 0.5747 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5628, allocations: 0 / 0.5747 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5628, allocations: 0 / 0.5747 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.563, allocations: 175.3 kB / 0.5749 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.563, allocations: 0.875 kB / 0.5749 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.5631, allocations: 15.98 kB / 0.5749 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.5631, allocations: 0 / 0.5749 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5631, allocations: 0 / 0.5749 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5631, allocations: 4 kB / 0.5749 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5631, allocations: 1.312 kB / 0.5749 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.5635, allocations: 203.3 kB / 0.5751 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.5636, allocations: 81.05 kB / 0.5752 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.5636, allocations: 0 / 0.5752 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5637, allocations: 15.98 kB / 0.5752 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.5638, allocations: 7.984 kB / 0.5752 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.5638, allocations: 4 kB / 0.5752 GB, free: 1.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.536e-05/0.5639, allocations: 96.95 kB / 0.5753 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5639, allocations: 0 / 0.5753 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.5642, allocations: 12 kB / 0.5753 GB, free: 0.9805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000181/0.5644, allocations: 107.2 kB / 0.5754 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.5648, allocations: 71.92 kB / 0.5755 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5648, allocations: 0.8438 kB / 0.5755 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5649, allocations: 35.91 kB / 0.5755 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.5653, allocations: 19.92 kB / 0.5755 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.5657, allocations: 167 kB / 0.5757 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.5661, allocations: 0.6817 MB / 0.5763 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.926e-05/0.5661, allocations: 8.781 kB / 0.5763 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.5661, allocations: 11.44 kB / 0.5764 GB, free: 15.83 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5661, allocations: 0 / 0.5764 GB, free: 15.83 MB / 462.1 MB Notification: Performance of Templates: time 0.003069/0.5692, allocations: 0.8384 MB / 0.5772 GB, free: 15.02 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)