Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 88.27 kB / 16.66 MB, free: 6.25 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.0009267/0.0009268, allocations: 176.6 kB / 17.57 MB, free: 5.859 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.331/1.331, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7002/0.7002, allocations: 115.5 MB / 408.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3415, allocations: 77.52 MB / 0.5606 GB, free: 36.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001793/0.3434, allocations: 1.608 MB / 0.5621 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1518/0.4952, allocations: 151.5 MB / 0.7101 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.4955, allocations: 4 kB / 0.7101 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.4957, allocations: 19.8 kB / 0.7101 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.496, allocations: 67.53 kB / 0.7102 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.4967, allocations: 231.4 kB / 0.7104 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00035/0.4971, allocations: 247.2 kB / 0.7106 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.4972, allocations: 72.3 kB / 0.7107 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.4992, allocations: 218.4 kB / 0.7109 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.4994, allocations: 75.62 kB / 0.711 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.4994, allocations: 8 kB / 0.711 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.4998, allocations: 175.7 kB / 0.7112 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.4999, allocations: 35.83 kB / 0.7112 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.5, allocations: 105.2 kB / 0.7113 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.5003, allocations: 199.5 kB / 0.7115 GB, free: 8.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5003, allocations: 0 / 0.7115 GB, free: 8.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5003, allocations: 0 / 0.7115 GB, free: 8.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.5003, allocations: 0 / 0.7115 GB, free: 8.359 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008963/0.5012, allocations: 0.4928 MB / 0.712 GB, free: 7.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5013, allocations: 15.97 kB / 0.712 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008777/0.5022, allocations: 83.72 kB / 0.7121 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.5025, allocations: 232.4 kB / 0.7123 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.471e-05/0.5025, allocations: 45.95 kB / 0.7123 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.5026, allocations: 24 kB / 0.7123 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.5031, allocations: 258.7 kB / 0.7126 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5032, allocations: 7.938 kB / 0.7126 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.5032, allocations: 4 kB / 0.7126 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5032, allocations: 4 kB / 0.7126 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.5037, allocations: 175.8 kB / 0.7128 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.5054, allocations: 1.184 MB / 0.7139 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.5061, allocations: 218.6 kB / 0.7141 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.5063, allocations: 76.81 kB / 0.7142 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.5064, allocations: 7.984 kB / 0.7142 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.5064, allocations: 34.56 kB / 0.7143 GB, free: 5.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.5064, allocations: 0 / 0.7143 GB, free: 5.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.002729/0.5091, allocations: 0.644 MB / 0.7149 GB, free: 4.609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5092, allocations: 55.41 kB / 0.7149 GB, free: 4.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.5094, allocations: 218.9 kB / 0.7151 GB, free: 4.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.5095, allocations: 33.7 kB / 0.7152 GB, free: 4.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.5096, allocations: 143.9 kB / 0.7153 GB, free: 4.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.5096, allocations: 35.45 kB / 0.7153 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.5097, allocations: 21.72 kB / 0.7154 GB, free: 4.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5098, allocations: 330.8 kB / 0.7157 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.51, allocations: 75.95 kB / 0.7158 GB, free: 3.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.5102, allocations: 135.7 kB / 0.7159 GB, free: 3.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.5107, allocations: 210.7 kB / 0.7161 GB, free: 3.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5107, allocations: 0 / 0.7161 GB, free: 3.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001462/0.5122, allocations: 390.7 kB / 0.7165 GB, free: 2.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5122, allocations: 8 kB / 0.7165 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5123, allocations: 0 / 0.7165 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.5133, allocations: 165.8 kB / 0.7166 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.5136, allocations: 43.91 kB / 0.7167 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/0.5173, allocations: 3.044 MB / 0.7196 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.5177, allocations: 35.73 kB / 0.7197 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.5177, allocations: 8 kB / 0.7197 GB, free: 15.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.5179, allocations: 133.8 kB / 0.7198 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.5179, allocations: 15.81 kB / 0.7198 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.5193, allocations: 390.1 kB / 0.7202 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5193, allocations: 0 / 0.7202 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5193, allocations: 3.938 kB / 0.7202 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5193, allocations: 3.984 kB / 0.7202 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.5196, allocations: 277.3 kB / 0.7205 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5197, allocations: 0 / 0.7205 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.5198, allocations: 27.98 kB / 0.7205 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009892/0.5208, allocations: 165.5 kB / 0.7207 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.5208, allocations: 4 kB / 0.7207 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/0.5243, allocations: 3.084 MB / 0.7237 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5244, allocations: 3.984 kB / 0.7237 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5256, allocations: 440.7 kB / 0.7241 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5258, allocations: 116.8 kB / 0.7242 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.5258, allocations: 8 kB / 0.7242 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.5261, allocations: 11.98 kB / 0.7242 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.5262, allocations: 19.97 kB / 0.7242 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.5262, allocations: 8 kB / 0.7242 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000189/0.5264, allocations: 164.2 kB / 0.7244 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.683e-06/0.5264, allocations: 0 / 0.7244 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004004/0.5268, allocations: 75.78 kB / 0.7245 GB, free: 9.992 MB / 0.5606 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001932/0.527, allocations: 116.7 kB / 0.7246 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.5281, allocations: 457.5 kB / 0.725 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5281, allocations: 0 / 0.725 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.5288, allocations: 363 kB / 0.7254 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.5293, allocations: 51.95 kB / 0.7254 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.5303, allocations: 0.5152 MB / 0.7259 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.5306, allocations: 0.7362 MB / 0.7266 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.5307, allocations: 23.42 kB / 0.7267 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.5307, allocations: 4 kB / 0.7267 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of Templates: time 0.007361/0.5381, allocations: 4.381 MB / 0.7309 GB, free: 3.273 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)