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.0009323/0.0009323, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007147/0.007147, allocations: 170.1 kB / 16.27 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.742/1.742, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4077/0.4077, allocations: 55 MB / 325.7 MB, free: 0.5859 MB / 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.000683/0.0006833, allocations: 12 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4486, allocations: 60.71 MB / 458 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001341/0.45, allocations: 0.9963 MB / 459 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1673/0.6173, allocations: 128.5 MB / 0.5737 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.6173, allocations: 0 / 0.5737 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.6174, allocations: 0 / 0.5737 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.6174, allocations: 19.91 kB / 0.5737 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.6178, allocations: 43.8 kB / 0.5738 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.6179, allocations: 19.94 kB / 0.5738 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.618, allocations: 3.984 kB / 0.5738 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.618, allocations: 15.88 kB / 0.5738 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.6181, allocations: 4 kB / 0.5738 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.6181, allocations: 0 / 0.5738 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.6182, allocations: 19.48 kB / 0.5738 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.6182, allocations: 7.984 kB / 0.5738 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.6183, allocations: 33.64 kB / 0.5739 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.6184, allocations: 31.47 kB / 0.5739 GB, free: 5.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6184, allocations: 0 / 0.5739 GB, free: 5.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.6184, allocations: 0 / 0.5739 GB, free: 5.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.6184, allocations: 0 / 0.5739 GB, free: 5.309 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.0003851/0.6188, allocations: 331.2 kB / 0.5742 GB, free: 4.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.6188, allocations: 8.031 kB / 0.5742 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.6189, allocations: 6.188 kB / 0.5742 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.619, allocations: 161 kB / 0.5744 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/0.6191, allocations: 30.27 kB / 0.5744 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.6191, allocations: 4.375 kB / 0.5744 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.6192, allocations: 43.19 kB / 0.5744 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6193, allocations: 3.938 kB / 0.5744 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.6193, allocations: 4 kB / 0.5745 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.6193, allocations: 0 / 0.5745 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.6194, allocations: 15.98 kB / 0.5745 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.6196, allocations: 153.6 kB / 0.5746 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.957e-05/0.6197, allocations: 38.61 kB / 0.5747 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.6198, allocations: 10.45 kB / 0.5747 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.62, allocations: 93.12 kB / 0.5747 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.62, allocations: 30.56 kB / 0.5748 GB, free: 4.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.62, allocations: 4 kB / 0.5748 GB, free: 4.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002476/0.6203, allocations: 65.61 kB / 0.5748 GB, free: 4.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.6203, allocations: 51.41 kB / 0.5749 GB, free: 4.078 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.6204, allocations: 98.17 kB / 0.575 GB, free: 3.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.6204, allocations: 25.7 kB / 0.575 GB, free: 3.941 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.6205, allocations: 80.14 kB / 0.5751 GB, free: 3.859 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.6205, allocations: 15.84 kB / 0.5751 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.6205, allocations: 9.719 kB / 0.5751 GB, free: 3.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6206, allocations: 310.8 kB / 0.5754 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/0.6207, allocations: 11.98 kB / 0.5754 GB, free: 3.504 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.6207, allocations: 11.94 kB / 0.5754 GB, free: 3.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/0.6208, allocations: 28.97 kB / 0.5755 GB, free: 3.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6208, allocations: 0 / 0.5755 GB, free: 3.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001244/0.621, allocations: 45.69 kB / 0.5755 GB, free: 3.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.621, allocations: 17 kB / 0.5755 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.621, allocations: 0.7812 kB / 0.5755 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.621, allocations: 0 / 0.5755 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.6211, allocations: 12.73 kB / 0.5755 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.6211, allocations: 0 / 0.5755 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.6212, allocations: 4 kB / 0.5755 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6212, allocations: 0 / 0.5755 GB, free: 3.379 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 6.497e-05/0.6212, allocations: 109.8 kB / 0.5756 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.6213, allocations: 11.84 kB / 0.5757 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.6214, allocations: 57.17 kB / 0.5757 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6215, allocations: 0 / 0.5757 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6215, allocations: 5 kB / 0.5757 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6215, allocations: 2.906 kB / 0.5757 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.6216, allocations: 157.7 kB / 0.5759 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6216, allocations: 0 / 0.5759 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.6216, allocations: 8 kB / 0.5759 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6217, allocations: 3.938 kB / 0.5759 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.6217, allocations: 4.672 kB / 0.5759 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6217, allocations: 1.094 kB / 0.5759 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6217, allocations: 0 / 0.5759 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.6218, allocations: 77.06 kB / 0.576 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.6219, allocations: 81.09 kB / 0.576 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.6219, allocations: 11.94 kB / 0.576 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.719e-05/0.622, allocations: 1.062 kB / 0.576 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.622, allocations: 0 / 0.576 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.622, allocations: 4 kB / 0.576 GB, free: 2.754 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.288e-05/0.6221, allocations: 79.27 kB / 0.5761 GB, free: 2.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6221, allocations: 0 / 0.5761 GB, free: 2.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001842/0.6222, allocations: 13.88 kB / 0.5761 GB, free: 2.664 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.000144/0.6224, allocations: 111.2 kB / 0.5762 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.6225, allocations: 23.92 kB / 0.5763 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6226, allocations: 0 / 0.5763 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.6226, allocations: 12 kB / 0.5763 GB, free: 2.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.6228, allocations: 7.984 kB / 0.5763 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.6232, allocations: 148.1 kB / 0.5764 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.6234, allocations: 0.677 MB / 0.5771 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.6234, allocations: 7.938 kB / 0.5771 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.6235, allocations: 11.44 kB / 0.5771 GB, free: 1.621 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6235, allocations: 0 / 0.5771 GB, free: 1.621 MB / 446.1 MB Notification: Performance of Templates: time 0.002713/0.6262, allocations: 489.5 kB / 0.5776 GB, free: 1.168 MB / 446.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: