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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 178.5 kB / 16.91 MB, free: 6.645 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8756/0.8756, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 8.625 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1658, allocations: 77.54 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002825/0.1687, allocations: 1.617 MB / 0.5616 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4718/0.6405, allocations: 151.5 MB / 0.7095 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.6407, allocations: 3.938 kB / 0.7095 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.641, allocations: 15.86 kB / 0.7096 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.6413, allocations: 71.53 kB / 0.7096 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007908/0.6421, allocations: 227.4 kB / 0.7098 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.6425, allocations: 255.1 kB / 0.7101 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.6427, allocations: 68.73 kB / 0.7102 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.6448, allocations: 197.8 kB / 0.7103 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.645, allocations: 79.61 kB / 0.7104 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.645, allocations: 4 kB / 0.7104 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.6454, allocations: 183.7 kB / 0.7106 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.6455, allocations: 31.84 kB / 0.7106 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.6456, allocations: 109.2 kB / 0.7107 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.6459, allocations: 263.2 kB / 0.711 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.646, allocations: 4 kB / 0.711 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.646, allocations: 0 / 0.711 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.646, allocations: 0 / 0.711 GB, free: 12.09 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008734/0.6469, allocations: 0.4997 MB / 0.7115 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6469, allocations: 12.03 kB / 0.7115 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.331e-05/0.647, allocations: 46.55 kB / 0.7115 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.6478, allocations: 91.58 kB / 0.7116 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.6481, allocations: 226.7 kB / 0.7118 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.6482, allocations: 38.03 kB / 0.7119 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.6482, allocations: 20 kB / 0.7119 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.6488, allocations: 263.3 kB / 0.7121 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6488, allocations: 15.94 kB / 0.7122 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.6488, allocations: 4 kB / 0.7122 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.6488, allocations: 7.984 kB / 0.7122 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.6493, allocations: 179.8 kB / 0.7123 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.6509, allocations: 1.2 MB / 0.7135 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.6517, allocations: 210.6 kB / 0.7137 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.6519, allocations: 76.81 kB / 0.7138 GB, free: 9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.6519, allocations: 4 kB / 0.7138 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.652, allocations: 30.56 kB / 0.7138 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.652, allocations: 0 / 0.7138 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.002694/0.6547, allocations: 0.6472 MB / 0.7145 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.6547, allocations: 63.34 kB / 0.7145 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.655, allocations: 211 kB / 0.7147 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.655, allocations: 29.7 kB / 0.7147 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.6551, allocations: 140 kB / 0.7149 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.6551, allocations: 39.44 kB / 0.7149 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.6552, allocations: 25.7 kB / 0.7149 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6553, allocations: 326.8 kB / 0.7152 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.6555, allocations: 79.94 kB / 0.7153 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.6558, allocations: 143.6 kB / 0.7155 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.6562, allocations: 210.7 kB / 0.7157 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6562, allocations: 0 / 0.7157 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001471/0.6577, allocations: 382.8 kB / 0.716 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6577, allocations: 8 kB / 0.716 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6577, allocations: 0 / 0.716 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.6588, allocations: 165.7 kB / 0.7162 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.6591, allocations: 47.89 kB / 0.7162 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/0.6628, allocations: 3.024 MB / 0.7192 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.6632, allocations: 39.8 kB / 0.7192 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.6632, allocations: 11.92 kB / 0.7192 GB, free: 2.973 MB / 0.5294 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.0001358/0.6634, allocations: 134 kB / 0.7194 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.6634, allocations: 15.81 kB / 0.7194 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.6648, allocations: 398.9 kB / 0.7198 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6648, allocations: 4 kB / 0.7198 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.6648, allocations: 3.938 kB / 0.7198 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6648, allocations: 3.938 kB / 0.7198 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.6651, allocations: 273.4 kB / 0.72 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6651, allocations: 7.938 kB / 0.72 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.6653, allocations: 23.98 kB / 0.7201 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009764/0.6663, allocations: 165.5 kB / 0.7202 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.6663, allocations: 4 kB / 0.7202 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.6697, allocations: 3.076 MB / 0.7232 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6697, allocations: 4.062 kB / 0.7232 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.671, allocations: 444.6 kB / 0.7237 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.6712, allocations: 112.8 kB / 0.7238 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.6712, allocations: 8 kB / 0.7238 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.6715, allocations: 11.98 kB / 0.7238 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.6716, allocations: 19.97 kB / 0.7238 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.6716, allocations: 4 kB / 0.7238 GB, free: 13.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001727/0.6718, allocations: 167.9 kB / 0.724 GB, free: 13.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6718, allocations: 0 / 0.724 GB, free: 13.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004283/0.6722, allocations: 75.84 kB / 0.724 GB, free: 13.66 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 (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.001664/0.6739, allocations: 0.9926 MB / 0.725 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.675, allocations: 458 kB / 0.7254 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.675, allocations: 0 / 0.7254 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/0.6757, allocations: 365.2 kB / 0.7258 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.6763, allocations: 56.83 kB / 0.7259 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.6818, allocations: 2.611 MB / 0.7284 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.6821, allocations: 0.7363 MB / 0.7291 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.6823, allocations: 34.81 kB / 0.7292 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.6824, allocations: 55.41 kB / 0.7292 GB, free: 8.141 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.6824, allocations: 3.938 kB / 0.7292 GB, free: 8.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.7031, allocations: 6.63 MB / 0.7357 GB, free: 1.746 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.7033, allocations: 241.2 kB / 0.7359 GB, free: 1.492 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.812, allocations: 0 / 0.7359 GB, free: 1.492 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)