Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001158/0.001158, allocations: 110.7 kB / 16.42 MB, free: 6.492 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.001143/0.001143, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 289 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8735/0.8735, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3531, allocations: 86.99 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002345/0.3555, allocations: 1.269 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1231/0.4786, allocations: 132 MB / 0.8972 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.4786, allocations: 0 / 0.8972 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.4787, allocations: 4 kB / 0.8972 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.4788, allocations: 11.91 kB / 0.8973 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.4791, allocations: 59.25 kB / 0.8973 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.4792, allocations: 23.86 kB / 0.8973 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.4792, allocations: 0 / 0.8973 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.4793, allocations: 15.94 kB / 0.8973 GB, free: 14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.4794, allocations: 7.984 kB / 0.8974 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.4794, allocations: 3.938 kB / 0.8974 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.4794, allocations: 12 kB / 0.8974 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.4795, allocations: 0 / 0.8974 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.4795, allocations: 19.91 kB / 0.8974 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 9.485e-05/0.4796, allocations: 23.92 kB / 0.8974 GB, free: 13.93 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4796, allocations: 0 / 0.8974 GB, free: 13.93 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4796, allocations: 0 / 0.8974 GB, free: 13.93 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.4796, allocations: 0 / 0.8974 GB, free: 13.93 MB / 0.67 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.0003874/0.48, allocations: 334.2 kB / 0.8977 GB, free: 13.55 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4801, allocations: 12.03 kB / 0.8977 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.4801, allocations: 0.9375 kB / 0.8977 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.4802, allocations: 164.3 kB / 0.8979 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.072e-05/0.4803, allocations: 38.25 kB / 0.8979 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.4803, allocations: 384 / 0.8979 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.4805, allocations: 42.25 kB / 0.898 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4805, allocations: 3.938 kB / 0.898 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4805, allocations: 0 / 0.898 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4805, allocations: 4 kB / 0.898 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.4806, allocations: 15.98 kB / 0.898 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.4808, allocations: 149.7 kB / 0.8981 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.4809, allocations: 38.5 kB / 0.8982 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.481, allocations: 20.92 kB / 0.8982 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.4811, allocations: 89.09 kB / 0.8983 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.4812, allocations: 30.56 kB / 0.8983 GB, free: 12.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.4812, allocations: 0 / 0.8983 GB, free: 12.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002803/0.4815, allocations: 61.62 kB / 0.8984 GB, free: 12.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.4815, allocations: 55.41 kB / 0.8984 GB, free: 12.69 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.231e-05/0.4816, allocations: 93.84 kB / 0.8985 GB, free: 12.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4816, allocations: 29.7 kB / 0.8985 GB, free: 12.55 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.4816, allocations: 80.14 kB / 0.8986 GB, free: 12.47 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.4816, allocations: 19.69 kB / 0.8986 GB, free: 12.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.4817, allocations: 17.66 kB / 0.8987 GB, free: 12.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.4818, allocations: 318.8 kB / 0.899 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.4818, allocations: 8 kB / 0.899 GB, free: 12.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.4819, allocations: 7.984 kB / 0.899 GB, free: 12.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.001e-05/0.4819, allocations: 20.86 kB / 0.899 GB, free: 12.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.482, allocations: 0 / 0.899 GB, free: 12.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001233/0.4821, allocations: 49.67 kB / 0.899 GB, free: 12.01 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4821, allocations: 8 kB / 0.899 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4821, allocations: 3.938 kB / 0.8991 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4821, allocations: 4 kB / 0.8991 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.4822, allocations: 11.88 kB / 0.8991 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4822, allocations: 0 / 0.8991 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.4823, allocations: 4 kB / 0.8991 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.4823, allocations: 0 / 0.8991 GB, free: 11.98 MB / 0.67 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.044e-05/0.4823, allocations: 109.8 kB / 0.8992 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.4823, allocations: 8 kB / 0.8992 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.4825, allocations: 57.11 kB / 0.8992 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4825, allocations: 4 kB / 0.8992 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4825, allocations: 0 / 0.8992 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.4826, allocations: 85.02 kB / 0.8993 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.4826, allocations: 0 / 0.8993 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.4826, allocations: 0 / 0.8993 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.4827, allocations: 11.98 kB / 0.8993 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001537/0.4828, allocations: 125.5 kB / 0.8995 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001767/0.483, allocations: 230.8 kB / 0.8997 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.202e-05/0.4831, allocations: 11.98 kB / 0.8997 GB, free: 11.29 MB / 0.67 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.4831, allocations: 79.28 kB / 0.8998 GB, free: 11.21 MB / 0.67 GB Notification: Performance of Backend: time 1.513e-06/0.4831, allocations: 0 / 0.8998 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.4835, allocations: 110.3 kB / 0.8999 GB, free: 11.1 MB / 0.67 GB Notification: Performance of SimCode: time 0.0004028/0.4839, allocations: 0.571 MB / 0.9004 GB, free: 10.48 MB / 0.67 GB Notification: Performance of Templates: time 0.002306/0.4862, allocations: 467.8 kB / 0.9009 GB, free: 10.02 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)