Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001173/0.001173, allocations: 106.5 kB / 17.04 MB, free: 6.062 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.001165/0.001166, allocations: 196 kB / 17.98 MB, free: 5.148 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.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6996/0.6996, allocations: 115.1 MB / 407 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 76.15 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002919/0.3479, allocations: 1.478 MB / 0.559 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1308/0.4788, allocations: 132.1 MB / 0.688 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.4789, allocations: 0 / 0.688 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.4789, allocations: 7.922 kB / 0.688 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.4791, allocations: 11.88 kB / 0.688 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.4794, allocations: 74.58 kB / 0.6881 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.4796, allocations: 51.78 kB / 0.6881 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.4797, allocations: 13.83 kB / 0.6881 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.4797, allocations: 23.92 kB / 0.6882 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.4798, allocations: 19.91 kB / 0.6882 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.4798, allocations: 4 kB / 0.6882 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.4799, allocations: 19.94 kB / 0.6882 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.4799, allocations: 15.92 kB / 0.6882 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.4799, allocations: 27.86 kB / 0.6883 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.4801, allocations: 59.67 kB / 0.6883 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4801, allocations: 0 / 0.6883 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4801, allocations: 0 / 0.6883 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4801, allocations: 0 / 0.6883 GB, free: 14.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005233/0.4806, allocations: 371.4 kB / 0.6887 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.4807, allocations: 8.031 kB / 0.6887 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.4807, allocations: 12.84 kB / 0.6887 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.4808, allocations: 172.2 kB / 0.6888 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.4809, allocations: 384 / 0.6888 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.4809, allocations: 384 / 0.6888 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.4811, allocations: 82.12 kB / 0.6889 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4811, allocations: 192 / 0.6889 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4812, allocations: 15.88 kB / 0.6889 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4812, allocations: 0 / 0.6889 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.4814, allocations: 67.92 kB / 0.689 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.4818, allocations: 280.7 kB / 0.6893 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.482, allocations: 58.48 kB / 0.6893 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.4821, allocations: 40.91 kB / 0.6894 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.4823, allocations: 89.09 kB / 0.6895 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4823, allocations: 42.56 kB / 0.6895 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4823, allocations: 3.938 kB / 0.6895 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004895/0.4828, allocations: 133.5 kB / 0.6896 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.4829, allocations: 51.41 kB / 0.6897 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.483, allocations: 113.8 kB / 0.6898 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.483, allocations: 29.7 kB / 0.6898 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.483, allocations: 84.14 kB / 0.6899 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.4831, allocations: 19.8 kB / 0.6899 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.4831, allocations: 13.72 kB / 0.6899 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4832, allocations: 318.8 kB / 0.6902 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4834, allocations: 31.95 kB / 0.6903 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4835, allocations: 31.97 kB / 0.6903 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.4837, allocations: 73.05 kB / 0.6904 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4837, allocations: 0 / 0.6904 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002877/0.484, allocations: 101.6 kB / 0.6905 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.484, allocations: 4 kB / 0.6905 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.4841, allocations: 0 / 0.6905 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.4841, allocations: 4 kB / 0.6905 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4842, allocations: 19.97 kB / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4842, allocations: 0 / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.4843, allocations: 15.92 kB / 0.6905 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4843, allocations: 0 / 0.6905 GB, free: 11.77 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.956e-05/0.4844, allocations: 117.8 kB / 0.6906 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.4844, allocations: 3.906 kB / 0.6906 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.4847, allocations: 109.5 kB / 0.6907 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4847, allocations: 3.938 kB / 0.6907 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4848, allocations: 3.938 kB / 0.6907 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4848, allocations: 0 / 0.6907 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.4849, allocations: 177.6 kB / 0.6909 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4849, allocations: 0 / 0.6909 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.485, allocations: 15.98 kB / 0.6909 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.485, allocations: 7.984 kB / 0.6909 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.485, allocations: 0 / 0.6909 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4851, allocations: 0 / 0.6909 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4851, allocations: 0 / 0.6909 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.4854, allocations: 199.3 kB / 0.6911 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.4854, allocations: 81.11 kB / 0.6912 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.4854, allocations: 3.984 kB / 0.6912 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.4856, allocations: 11.98 kB / 0.6912 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.4856, allocations: 4 kB / 0.6912 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.4856, allocations: 0 / 0.6912 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.241e-05/0.4857, allocations: 101.7 kB / 0.6913 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4857, allocations: 0 / 0.6913 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002264/0.4859, allocations: 15.94 kB / 0.6913 GB, free: 10.83 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.0001362/0.4861, allocations: 107.2 kB / 0.6914 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.4864, allocations: 67.92 kB / 0.6915 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4864, allocations: 0 / 0.6915 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4865, allocations: 39.95 kB / 0.6915 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4869, allocations: 23.92 kB / 0.6915 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.4872, allocations: 165.5 kB / 0.6917 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.4875, allocations: 0.6807 MB / 0.6924 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.4875, allocations: 8.312 kB / 0.6924 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.4875, allocations: 11.44 kB / 0.6924 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.4875, allocations: 0 / 0.6924 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of Templates: time 0.003038/0.4906, allocations: 0.9958 MB / 0.6934 GB, free: 8.699 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)