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.001231/0.001231, allocations: 111.9 kB / 16.42 MB, free: 6.512 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.001255/0.001255, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.216/1.216, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 284.3 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.8827/0.8827, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3616, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.0024/0.364, allocations: 1.491 MB / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1239/0.488, allocations: 132.1 MB / 0.8975 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.488, allocations: 0 / 0.8975 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.4881, allocations: 7.922 kB / 0.8975 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.4882, allocations: 11.92 kB / 0.8975 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.4885, allocations: 75.31 kB / 0.8976 GB, free: 13.74 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.4886, allocations: 51.84 kB / 0.8976 GB, free: 13.69 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 8.249e-05/0.4887, allocations: 12 kB / 0.8976 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.4888, allocations: 23.92 kB / 0.8977 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.4888, allocations: 23.91 kB / 0.8977 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.4888, allocations: 7.938 kB / 0.8977 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.4889, allocations: 16 kB / 0.8977 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.4889, allocations: 15.91 kB / 0.8977 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.489, allocations: 19.88 kB / 0.8977 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.4891, allocations: 59.81 kB / 0.8978 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4891, allocations: 0 / 0.8978 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4891, allocations: 0 / 0.8978 GB, free: 13.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4891, allocations: 0 / 0.8978 GB, free: 13.52 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.0004917/0.4896, allocations: 381.8 kB / 0.8982 GB, free: 13.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4897, allocations: 8.031 kB / 0.8982 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.4897, allocations: 4.938 kB / 0.8982 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4898, allocations: 176.2 kB / 0.8983 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4898, allocations: 4.375 kB / 0.8983 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.4899, allocations: 4.375 kB / 0.8983 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.4901, allocations: 74.2 kB / 0.8984 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.4901, allocations: 4.125 kB / 0.8984 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4902, allocations: 7.922 kB / 0.8984 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4902, allocations: 4 kB / 0.8984 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.4905, allocations: 75.92 kB / 0.8985 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.4908, allocations: 276.7 kB / 0.8988 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.491, allocations: 62.47 kB / 0.8988 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.4912, allocations: 36.92 kB / 0.8989 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.4914, allocations: 93.09 kB / 0.899 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.4914, allocations: 30.56 kB / 0.899 GB, free: 12.12 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/0.4914, allocations: 0 / 0.899 GB, free: 12.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0005372/0.4919, allocations: 133.6 kB / 0.8991 GB, free: 11.98 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.492, allocations: 51.41 kB / 0.8992 GB, free: 11.92 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.4921, allocations: 113.8 kB / 0.8993 GB, free: 11.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.4921, allocations: 25.7 kB / 0.8993 GB, free: 11.77 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.4921, allocations: 96.05 kB / 0.8994 GB, free: 11.67 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.4921, allocations: 11.83 kB / 0.8994 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.4922, allocations: 13.72 kB / 0.8994 GB, free: 11.64 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.4923, allocations: 322.8 kB / 0.8997 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4924, allocations: 31.95 kB / 0.8997 GB, free: 11.28 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.4926, allocations: 31.97 kB / 0.8998 GB, free: 11.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.4929, allocations: 76.72 kB / 0.8998 GB, free: 11.17 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4929, allocations: 0 / 0.8998 GB, free: 11.17 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003174/0.4932, allocations: 97.53 kB / 0.8999 GB, free: 11.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4932, allocations: 4 kB / 0.8999 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4932, allocations: 0 / 0.8999 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4932, allocations: 7.875 kB / 0.9 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4934, allocations: 23.97 kB / 0.9 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4934, allocations: 3.938 kB / 0.9 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.4935, allocations: 11.98 kB / 0.9 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4935, allocations: 0 / 0.9 GB, free: 11.02 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 7.17e-05/0.4936, allocations: 120.2 kB / 0.9001 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.4936, allocations: 0 / 0.9001 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.494, allocations: 109.5 kB / 0.9002 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.494, allocations: 0 / 0.9002 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.494, allocations: 0 / 0.9002 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.494, allocations: 89 kB / 0.9003 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.494, allocations: 0 / 0.9003 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.4942, allocations: 11.98 kB / 0.9003 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.4942, allocations: 8.312 kB / 0.9003 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003973/0.4946, allocations: 192.8 kB / 0.9005 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003709/0.495, allocations: 274.8 kB / 0.9008 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001443/0.4951, allocations: 31.97 kB / 0.9008 GB, free: 10.14 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.4952, allocations: 91.27 kB / 0.9009 GB, free: 10.05 MB / 0.67 GB Notification: Performance of Backend: time 3.81e-07/0.4952, allocations: 0 / 0.9009 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.4957, allocations: 138.3 kB / 0.901 GB, free: 9.91 MB / 0.67 GB Notification: Performance of SimCode: time 0.0004788/0.4962, allocations: 0.5943 MB / 0.9016 GB, free: 9.266 MB / 0.67 GB Notification: Performance of Templates: time 0.003079/0.4993, allocations: 1.048 MB / 0.9026 GB, free: 8.227 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)