Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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: 113.4 kB / 16.42 MB, free: 6.504 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.001157/0.001157, allocations: 190.7 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.237/1.237, 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.001974/0.001974, allocations: 291 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.886/0.886, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3619, allocations: 86.99 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002303/0.3642, allocations: 1.48 MB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1268/0.4911, allocations: 132.1 MB / 0.8975 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.4912, allocations: 4 kB / 0.8975 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.4912, allocations: 3.938 kB / 0.8975 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.4913, allocations: 19.8 kB / 0.8975 GB, free: 13.78 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.4916, allocations: 67.38 kB / 0.8976 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.838e-05/0.4917, allocations: 59.78 kB / 0.8976 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.4918, allocations: 11.98 kB / 0.8976 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.4919, allocations: 15.83 kB / 0.8976 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.4919, allocations: 31.89 kB / 0.8977 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.492, allocations: 11.94 kB / 0.8977 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.492, allocations: 16 kB / 0.8977 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.4921, allocations: 7.984 kB / 0.8977 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.4921, allocations: 27.86 kB / 0.8977 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.4922, allocations: 43.88 kB / 0.8978 GB, free: 13.5 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4922, allocations: 3.984 kB / 0.8978 GB, free: 13.5 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4922, allocations: 0 / 0.8978 GB, free: 13.5 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.4923, allocations: 0 / 0.8978 GB, free: 13.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004686/0.4927, allocations: 385.7 kB / 0.8981 GB, free: 13.07 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4928, allocations: 12.03 kB / 0.8982 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.4928, allocations: 0.9375 kB / 0.8982 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.4929, allocations: 180.2 kB / 0.8983 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4929, allocations: 4.375 kB / 0.8983 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.493, allocations: 4.375 kB / 0.8983 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.4932, allocations: 70.22 kB / 0.8984 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4932, allocations: 192 / 0.8984 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4932, allocations: 7.938 kB / 0.8984 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.4932, allocations: 0 / 0.8984 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.4935, allocations: 71.86 kB / 0.8985 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.4939, allocations: 280.7 kB / 0.8988 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.4941, allocations: 62.53 kB / 0.8988 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.4942, allocations: 36.92 kB / 0.8988 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.4944, allocations: 89.09 kB / 0.8989 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.4944, allocations: 34.5 kB / 0.899 GB, free: 12.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4944, allocations: 4 kB / 0.899 GB, free: 12.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0005121/0.4949, allocations: 125.6 kB / 0.8991 GB, free: 11.97 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.495, allocations: 55.41 kB / 0.8991 GB, free: 11.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.4951, allocations: 113.8 kB / 0.8993 GB, free: 11.78 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4951, allocations: 25.7 kB / 0.8993 GB, free: 11.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.4951, allocations: 100 kB / 0.8994 GB, free: 11.65 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.4951, allocations: 11.84 kB / 0.8994 GB, free: 11.64 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.4952, allocations: 13.72 kB / 0.8994 GB, free: 11.62 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.4953, allocations: 322.8 kB / 0.8997 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.4954, allocations: 31.97 kB / 0.8997 GB, free: 11.26 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4955, allocations: 31.97 kB / 0.8998 GB, free: 11.23 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.4958, allocations: 76.66 kB / 0.8998 GB, free: 11.15 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4958, allocations: 0 / 0.8998 GB, free: 11.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003049/0.4961, allocations: 101.5 kB / 0.8999 GB, free: 11.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4962, allocations: 8 kB / 0.8999 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4962, allocations: 0 / 0.8999 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4962, allocations: 7.938 kB / 0.8999 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4963, allocations: 11.98 kB / 0.9 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4963, allocations: 0 / 0.9 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.4964, allocations: 11.98 kB / 0.9 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.4964, allocations: 0 / 0.9 GB, free: 11.01 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.926e-05/0.4965, allocations: 124.2 kB / 0.9001 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.4965, allocations: 11.92 kB / 0.9001 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.4969, allocations: 105.8 kB / 0.9002 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4969, allocations: 4 kB / 0.9002 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4969, allocations: 0 / 0.9002 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.4969, allocations: 85.05 kB / 0.9003 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4969, allocations: 0 / 0.9003 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.4971, allocations: 15.98 kB / 0.9003 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.4971, allocations: 7.922 kB / 0.9003 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003857/0.4975, allocations: 192.9 kB / 0.9005 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003555/0.4979, allocations: 274.8 kB / 0.9008 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001454/0.498, allocations: 35.95 kB / 0.9008 GB, free: 10.11 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.4981, allocations: 87.28 kB / 0.9009 GB, free: 10.02 MB / 0.67 GB Notification: Performance of Backend: time 1.81e-07/0.4981, allocations: 0 / 0.9009 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.4985, allocations: 135.4 kB / 0.901 GB, free: 9.891 MB / 0.67 GB Notification: Performance of SimCode: time 0.0004362/0.499, allocations: 0.606 MB / 0.9016 GB, free: 9.234 MB / 0.67 GB Notification: Performance of Templates: time 0.002827/0.5018, allocations: 1.047 MB / 0.9026 GB, free: 8.199 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)