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.001233/0.001234, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.0009892/0.0009892, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 286 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8781/0.8781, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 99.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3585, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002087/0.3606, allocations: 1.28 MB / 0.7683 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1228/0.4835, allocations: 132 MB / 0.8972 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.4835, allocations: 0 / 0.8972 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.4836, allocations: 0 / 0.8972 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.4836, allocations: 7.922 kB / 0.8972 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.484, allocations: 59.25 kB / 0.8973 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.484, allocations: 23.86 kB / 0.8973 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.4841, allocations: 0 / 0.8973 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.4841, allocations: 19.92 kB / 0.8973 GB, free: 14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.4842, allocations: 8 kB / 0.8974 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.4842, allocations: 0 / 0.8974 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.4843, allocations: 15.98 kB / 0.8974 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.4843, allocations: 3.938 kB / 0.8974 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.4843, allocations: 7.984 kB / 0.8974 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 9.218e-05/0.4844, allocations: 23.92 kB / 0.8974 GB, free: 13.94 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4844, allocations: 0 / 0.8974 GB, free: 13.94 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4844, allocations: 0 / 0.8974 GB, free: 13.94 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.4844, allocations: 0 / 0.8974 GB, free: 13.94 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.0003684/0.4848, allocations: 342.1 kB / 0.8977 GB, free: 13.55 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4849, allocations: 8.031 kB / 0.8977 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.4849, allocations: 8.938 kB / 0.8977 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.485, allocations: 164.3 kB / 0.8979 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.4851, allocations: 30.27 kB / 0.8979 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.4851, allocations: 384 / 0.8979 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4852, allocations: 42.25 kB / 0.898 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4852, allocations: 7.922 kB / 0.898 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.4852, allocations: 0 / 0.898 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4853, allocations: 4 kB / 0.898 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.4853, allocations: 11.98 kB / 0.898 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.4855, allocations: 157.7 kB / 0.8981 GB, free: 13.03 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 8.745e-05/0.4856, allocations: 34.55 kB / 0.8982 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.4856, allocations: 8.859 kB / 0.8982 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.4858, allocations: 97.12 kB / 0.8983 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.4858, allocations: 34.56 kB / 0.8983 GB, free: 12.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4858, allocations: 0 / 0.8983 GB, free: 12.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002173/0.4861, allocations: 57.61 kB / 0.8984 GB, free: 12.76 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.4861, allocations: 55.41 kB / 0.8984 GB, free: 12.69 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.4862, allocations: 97.8 kB / 0.8985 GB, free: 12.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.4862, allocations: 25.7 kB / 0.8985 GB, free: 12.55 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.4862, allocations: 88.08 kB / 0.8986 GB, free: 12.46 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.4862, allocations: 23.73 kB / 0.8986 GB, free: 12.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.4863, allocations: 13.72 kB / 0.8987 GB, free: 12.42 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.4864, allocations: 310.8 kB / 0.899 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.4864, allocations: 11.98 kB / 0.899 GB, free: 12.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/0.4865, allocations: 4 kB / 0.899 GB, free: 12.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.4865, allocations: 24.84 kB / 0.899 GB, free: 12.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4866, allocations: 4 kB / 0.899 GB, free: 12.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001204/0.4867, allocations: 45.69 kB / 0.899 GB, free: 12.01 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.4867, allocations: 4 kB / 0.899 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4867, allocations: 7.938 kB / 0.8991 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4867, allocations: 0 / 0.8991 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.4868, allocations: 11.92 kB / 0.8991 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4868, allocations: 0 / 0.8991 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.4868, allocations: 0 / 0.8991 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.4869, allocations: 4 kB / 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 5.865e-05/0.4869, allocations: 112.2 kB / 0.8992 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.4869, allocations: 0 / 0.8992 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.4871, allocations: 65.62 kB / 0.8992 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4871, allocations: 0 / 0.8992 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4871, allocations: 0 / 0.8992 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.4872, allocations: 85 kB / 0.8993 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.4872, allocations: 4.047 kB / 0.8993 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/0.4872, allocations: 3.984 kB / 0.8993 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.4872, allocations: 11.94 kB / 0.8993 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001519/0.4874, allocations: 129 kB / 0.8995 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001734/0.4876, allocations: 218.8 kB / 0.8997 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.694e-05/0.4876, allocations: 12 kB / 0.8997 GB, free: 11.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.4877, allocations: 83.22 kB / 0.8998 GB, free: 11.22 MB / 0.67 GB Notification: Performance of Backend: time 2.3e-07/0.4877, allocations: 4 kB / 0.8998 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.4881, allocations: 109.9 kB / 0.8999 GB, free: 11.1 MB / 0.67 GB Notification: Performance of SimCode: time 0.0003633/0.4884, allocations: 0.5671 MB / 0.9004 GB, free: 10.48 MB / 0.67 GB Notification: Performance of Templates: time 0.002302/0.4907, allocations: 473.9 kB / 0.9009 GB, free: 10.03 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)