Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001969/0.001969, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.529/1.529, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4104/0.4104, allocations: 54.92 MB / 324.4 MB, free: 68 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.001299/0.001299, allocations: 67.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1257, allocations: 59.59 MB / 454.5 MB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.1921/0.3179, allocations: 1.327 MB / 455.8 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1431/0.461, allocations: 130.1 MB / 0.5721 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.4612, allocations: 0 / 0.5721 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.4613, allocations: 3.938 kB / 0.5721 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.4613, allocations: 0 / 0.5721 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.4618, allocations: 47.8 kB / 0.5722 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.4619, allocations: 27.86 kB / 0.5722 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.462, allocations: 0 / 0.5722 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.4621, allocations: 11.98 kB / 0.5722 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.4621, allocations: 11.92 kB / 0.5722 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.4622, allocations: 0 / 0.5722 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.4623, allocations: 23.48 kB / 0.5722 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.4623, allocations: 0 / 0.5722 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.4623, allocations: 11.94 kB / 0.5723 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.4624, allocations: 17.95 kB / 0.5723 GB, free: 4.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4625, allocations: 4 kB / 0.5723 GB, free: 4.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4625, allocations: 0 / 0.5723 GB, free: 4.285 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4625, allocations: 0 / 0.5723 GB, free: 4.285 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004513/0.4629, allocations: 335.1 kB / 0.5726 GB, free: 3.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.463, allocations: 8.031 kB / 0.5726 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.463, allocations: 12.05 kB / 0.5726 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.4632, allocations: 172.3 kB / 0.5728 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.4632, allocations: 26.27 kB / 0.5728 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.4633, allocations: 4.375 kB / 0.5728 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.4634, allocations: 34.25 kB / 0.5728 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4634, allocations: 3.938 kB / 0.5729 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4634, allocations: 4 kB / 0.5729 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4634, allocations: 0 / 0.5729 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.4635, allocations: 11.98 kB / 0.5729 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.4637, allocations: 157.7 kB / 0.573 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.4638, allocations: 38.55 kB / 0.5731 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.4639, allocations: 8.859 kB / 0.5731 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.4641, allocations: 89.75 kB / 0.5731 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4641, allocations: 38.56 kB / 0.5732 GB, free: 3.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4641, allocations: 0 / 0.5732 GB, free: 3.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002328/0.4643, allocations: 65.55 kB / 0.5732 GB, free: 3.109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.4644, allocations: 51.41 kB / 0.5733 GB, free: 3.047 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.4645, allocations: 102 kB / 0.5734 GB, free: 2.938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4645, allocations: 30.36 kB / 0.5734 GB, free: 2.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.4645, allocations: 80.14 kB / 0.5735 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.4646, allocations: 13.7 kB / 0.5735 GB, free: 2.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.4646, allocations: 17.72 kB / 0.5735 GB, free: 2.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4647, allocations: 314.8 kB / 0.5738 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.4647, allocations: 7.984 kB / 0.5738 GB, free: 2.461 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.4648, allocations: 8 kB / 0.5738 GB, free: 2.453 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.991e-05/0.4649, allocations: 21.41 kB / 0.5739 GB, free: 2.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4649, allocations: 0 / 0.5739 GB, free: 2.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001135/0.465, allocations: 53.62 kB / 0.5739 GB, free: 2.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.465, allocations: 11.94 kB / 0.5739 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.465, allocations: 0 / 0.5739 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4651, allocations: 0 / 0.5739 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.4651, allocations: 8.547 kB / 0.5739 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4651, allocations: 4.703 kB / 0.5739 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.4652, allocations: 3.906 kB / 0.5739 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4652, allocations: 0 / 0.5739 GB, free: 2.344 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 7.567e-05/0.4653, allocations: 113.8 kB / 0.5741 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.4653, allocations: 3.938 kB / 0.5741 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.4655, allocations: 61.67 kB / 0.5741 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4655, allocations: 7.938 kB / 0.5741 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4655, allocations: 0 / 0.5741 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4655, allocations: 0.625 kB / 0.5741 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.4656, allocations: 153.7 kB / 0.5743 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4656, allocations: 0 / 0.5743 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.4656, allocations: 5.125 kB / 0.5743 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4657, allocations: 4.625 kB / 0.5743 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.4657, allocations: 0 / 0.5743 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4657, allocations: 7.984 kB / 0.5743 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4657, allocations: 4 kB / 0.5743 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.4658, allocations: 69.12 kB / 0.5744 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.4659, allocations: 85.09 kB / 0.5744 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.4659, allocations: 5 kB / 0.5744 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.661e-05/0.4659, allocations: 0 / 0.5744 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.466, allocations: 4 kB / 0.5744 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.466, allocations: 8 kB / 0.5745 GB, free: 1.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.466, allocations: 83.64 kB / 0.5745 GB, free: 1.641 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.466, allocations: 1.312 kB / 0.5745 GB, free: 1.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.4662, allocations: 11.98 kB / 0.5745 GB, free: 1.629 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.0001538/0.4664, allocations: 109 kB / 0.5746 GB, free: 1.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.4665, allocations: 19.98 kB / 0.5747 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4665, allocations: 4 kB / 0.5747 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.4666, allocations: 8.234 kB / 0.5747 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.4668, allocations: 13.55 kB / 0.5747 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.4672, allocations: 132.4 kB / 0.5748 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.4675, allocations: 0.673 MB / 0.5755 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.4675, allocations: 16.52 kB / 0.5755 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.4676, allocations: 7.438 kB / 0.5755 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4676, allocations: 0.5625 kB / 0.5755 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of Templates: time 0.002885/0.4704, allocations: 0.4906 MB / 0.576 GB, free: 156 kB / 446.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)