Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009858/0.0009857, allocations: 106.9 kB / 17.02 MB, free: 5.656 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.0009534/0.0009534, allocations: 190.9 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 241.6 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6899/0.6899, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3395, allocations: 76.15 MB / 0.5576 GB, free: 36.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002355/0.3419, allocations: 1.268 MB / 0.5588 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1401/0.482, allocations: 132 MB / 0.6877 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.4821, allocations: 0 / 0.6877 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.4822, allocations: 0 / 0.6877 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.4823, allocations: 7.922 kB / 0.6877 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.4827, allocations: 54.61 kB / 0.6878 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.179e-05/0.4828, allocations: 27.86 kB / 0.6878 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.4828, allocations: 0 / 0.6878 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.4829, allocations: 4 kB / 0.6878 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.4829, allocations: 19.91 kB / 0.6878 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.483, allocations: 8 kB / 0.6879 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.483, allocations: 4 kB / 0.6879 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.4831, allocations: 8 kB / 0.6879 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.4831, allocations: 11.92 kB / 0.6879 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.4832, allocations: 29.75 kB / 0.6879 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4832, allocations: 0 / 0.6879 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4833, allocations: 0 / 0.6879 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4833, allocations: 0 / 0.6879 GB, free: 14.63 MB / 0.5294 GB 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.0003908/0.4837, allocations: 331.4 kB / 0.6882 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4837, allocations: 15.97 kB / 0.6882 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.4838, allocations: 8.844 kB / 0.6882 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4839, allocations: 160.4 kB / 0.6884 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.4839, allocations: 34.25 kB / 0.6884 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.484, allocations: 384 / 0.6884 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.4841, allocations: 42.25 kB / 0.6885 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4841, allocations: 3.938 kB / 0.6885 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.4841, allocations: 0 / 0.6885 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4841, allocations: 3.984 kB / 0.6885 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.4842, allocations: 15.98 kB / 0.6885 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.4844, allocations: 153.6 kB / 0.6886 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.4845, allocations: 34.55 kB / 0.6887 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.4845, allocations: 16.94 kB / 0.6887 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.4847, allocations: 89.09 kB / 0.6888 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4847, allocations: 38.56 kB / 0.6888 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4847, allocations: 0 / 0.6888 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002152/0.485, allocations: 57.56 kB / 0.6889 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.485, allocations: 51.41 kB / 0.6889 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.4851, allocations: 101.8 kB / 0.689 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.4851, allocations: 25.7 kB / 0.689 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.4851, allocations: 84.12 kB / 0.6891 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.4852, allocations: 15.84 kB / 0.6891 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.4852, allocations: 21.62 kB / 0.6892 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4853, allocations: 314.8 kB / 0.6895 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.4854, allocations: 4 kB / 0.6895 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.4854, allocations: 11.98 kB / 0.6895 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.4855, allocations: 20.86 kB / 0.6895 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4855, allocations: 0 / 0.6895 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001178/0.4856, allocations: 57.61 kB / 0.6895 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4856, allocations: 7.938 kB / 0.6895 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4857, allocations: 7.938 kB / 0.6896 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4857, allocations: 0 / 0.6896 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.4858, allocations: 4 kB / 0.6896 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.4858, allocations: 0 / 0.6896 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.4858, allocations: 0 / 0.6896 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.4858, allocations: 4 kB / 0.6896 GB, free: 12.68 MB / 0.5294 GB 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.843e-05/0.4859, allocations: 113.8 kB / 0.6897 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.4859, allocations: 3.938 kB / 0.6897 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.4861, allocations: 61.17 kB / 0.6897 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4861, allocations: 0.5625 kB / 0.6897 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4861, allocations: 3.938 kB / 0.6897 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4861, allocations: 0 / 0.6897 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.4862, allocations: 153.7 kB / 0.6899 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4862, allocations: 0 / 0.6899 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.4862, allocations: 8 kB / 0.6899 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4863, allocations: 7.938 kB / 0.6899 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4863, allocations: 4 kB / 0.6899 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4863, allocations: 0 / 0.6899 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4863, allocations: 3.984 kB / 0.6899 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.4864, allocations: 73.11 kB / 0.69 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.4865, allocations: 81.02 kB / 0.6901 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4865, allocations: 3.938 kB / 0.6901 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.4865, allocations: 11.94 kB / 0.6901 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.4866, allocations: 7.984 kB / 0.6901 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4866, allocations: 0 / 0.6901 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.4866, allocations: 79.28 kB / 0.6902 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4866, allocations: 3.938 kB / 0.6902 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001835/0.4868, allocations: 8 kB / 0.6902 GB, free: 11.96 MB / 0.5294 GB 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.0001402/0.487, allocations: 107.2 kB / 0.6903 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4871, allocations: 19.98 kB / 0.6903 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4871, allocations: 4 kB / 0.6903 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.4872, allocations: 15.98 kB / 0.6903 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.4874, allocations: 4 kB / 0.6903 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.4877, allocations: 125.5 kB / 0.6904 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.4879, allocations: 0.6768 MB / 0.6911 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.488, allocations: 15.92 kB / 0.6911 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.488, allocations: 7.438 kB / 0.6911 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.488, allocations: 0 / 0.6911 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.002548/0.4906, allocations: 0.5175 MB / 0.6916 GB, free: 10.43 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)