Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001249/0.001249, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 284.7 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9095/0.9095, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3973, allocations: 86.96 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00227/0.3996, allocations: 1.499 MB / 0.7685 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.4007, allocations: 0.8125 MB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.4008, allocations: 4 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.4008, allocations: 7.938 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.4009, allocations: 3.938 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.4013, allocations: 131.4 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.4014, allocations: 59.7 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.4015, allocations: 15.66 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.61e-05/0.4015, allocations: 27.92 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.4016, allocations: 19.91 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.4016, allocations: 8 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.4019, allocations: 175.7 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.4019, allocations: 7.938 kB / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.4019, allocations: 19.92 kB / 0.7697 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.4022, allocations: 146.2 kB / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4022, allocations: 0 / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4022, allocations: 0 / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.4022, allocations: 0 / 0.7699 GB, free: 0.9805 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.0005351/0.4027, allocations: 395.2 kB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.4028, allocations: 12.03 kB / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.4028, allocations: 4.875 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.4029, allocations: 180.2 kB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.4029, allocations: 4.375 kB / 0.7705 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.4029, allocations: 4.375 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.4032, allocations: 74.22 kB / 0.7705 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4032, allocations: 192 / 0.7705 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.4032, allocations: 7.922 kB / 0.7705 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4032, allocations: 4 kB / 0.7705 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.4035, allocations: 63.92 kB / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.4039, allocations: 292.7 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4041, allocations: 54.53 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.4042, allocations: 40.92 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.4044, allocations: 89.09 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.4044, allocations: 34.56 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4044, allocations: 0 / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005234/0.405, allocations: 133.5 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.405, allocations: 51.41 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.4051, allocations: 117.8 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.4051, allocations: 25.7 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.4052, allocations: 96.03 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.4052, allocations: 11.84 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.4052, allocations: 13.72 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4053, allocations: 322.8 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4055, allocations: 31.97 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.4056, allocations: 35.89 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.4059, allocations: 68.8 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4059, allocations: 0 / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003116/0.4062, allocations: 109.5 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.4062, allocations: 8 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4062, allocations: 0 / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.4063, allocations: 0 / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4064, allocations: 11.98 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4064, allocations: 4 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.4065, allocations: 11.92 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.4065, allocations: 4 kB / 0.7721 GB, free: 14.46 MB / 0.545 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.101e-05/0.4065, allocations: 124.2 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.4066, allocations: 4 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.4069, allocations: 109.5 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4069, allocations: 0 / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4069, allocations: 0 / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.407, allocations: 4 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.4071, allocations: 173.6 kB / 0.7725 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4071, allocations: 4 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/0.4072, allocations: 15.98 kB / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4072, allocations: 384 / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.4072, allocations: 0 / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4072, allocations: 0 / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4072, allocations: 4 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.4076, allocations: 207.2 kB / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.4076, allocations: 81.02 kB / 0.7728 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.4077, allocations: 8 kB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4078, allocations: 7.984 kB / 0.7728 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.4078, allocations: 7.984 kB / 0.7728 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4078, allocations: 0 / 0.7728 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.4079, allocations: 91.28 kB / 0.7729 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4079, allocations: 0 / 0.7729 GB, free: 13.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000261/0.4082, allocations: 43.92 kB / 0.7729 GB, free: 13.49 MB / 0.545 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.000197/0.4084, allocations: 123.2 kB / 0.7731 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.4087, allocations: 71.92 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4087, allocations: 0 / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4089, allocations: 39.89 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.4092, allocations: 26.56 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.4095, allocations: 168.9 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.4097, allocations: 0.6885 MB / 0.774 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.4098, allocations: 11.44 kB / 0.774 GB, free: 12.31 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.4098, allocations: 0 / 0.774 GB, free: 12.31 MB / 0.545 GB Notification: Performance of Templates: time 0.002538/0.4123, allocations: 1.22 MB / 0.7752 GB, free: 11.1 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)