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.001631/0.001631, allocations: 103.9 kB / 15.98 MB, free: 6.344 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.001693/0.001693, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7454/0.7454, allocations: 115.3 MB / 406.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 59.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4738, allocations: 76.16 MB / 0.556 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003068/0.4769, allocations: 1.957 MB / 0.5579 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1813/0.6582, allocations: 153.2 MB / 0.7076 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/0.6586, allocations: 7.938 kB / 0.7076 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.659, allocations: 15.86 kB / 0.7076 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006108/0.6596, allocations: 71.53 kB / 0.7076 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.6607, allocations: 231.4 kB / 0.7079 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.6613, allocations: 263.2 kB / 0.7081 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.6616, allocations: 76.58 kB / 0.7082 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.6639, allocations: 236.7 kB / 0.7084 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.6642, allocations: 99.58 kB / 0.7085 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.6642, allocations: 16 kB / 0.7085 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.6647, allocations: 187.7 kB / 0.7087 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.6647, allocations: 39.84 kB / 0.7087 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.6649, allocations: 95.52 kB / 0.7088 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.6655, allocations: 279.2 kB / 0.7091 GB, free: 7.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6655, allocations: 4 kB / 0.7091 GB, free: 7.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6655, allocations: 4 kB / 0.7091 GB, free: 7.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.6655, allocations: 0 / 0.7091 GB, free: 7.344 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.001343/0.6669, allocations: 0.528 MB / 0.7096 GB, free: 6.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6669, allocations: 8.031 kB / 0.7096 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.28e-05/0.667, allocations: 54.55 kB / 0.7097 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009537/0.668, allocations: 75.73 kB / 0.7098 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.6683, allocations: 237 kB / 0.71 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.526e-05/0.6684, allocations: 42.03 kB / 0.71 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.6685, allocations: 12 kB / 0.71 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.6691, allocations: 266.6 kB / 0.7103 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6691, allocations: 0 / 0.7103 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.6691, allocations: 4 kB / 0.7103 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.6691, allocations: 8 kB / 0.7103 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.6696, allocations: 167.8 kB / 0.7105 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.6714, allocations: 1.188 MB / 0.7116 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.6722, allocations: 206.6 kB / 0.7118 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.6724, allocations: 68.83 kB / 0.7119 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.6724, allocations: 7.938 kB / 0.7119 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.6724, allocations: 34.55 kB / 0.7119 GB, free: 4.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.6724, allocations: 0 / 0.7119 GB, free: 4.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.002789/0.6752, allocations: 0.6335 MB / 0.7125 GB, free: 3.551 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.6753, allocations: 51.41 kB / 0.7126 GB, free: 3.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.6756, allocations: 223 kB / 0.7128 GB, free: 3.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.6756, allocations: 25.7 kB / 0.7128 GB, free: 3.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.6757, allocations: 136 kB / 0.713 GB, free: 3.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.6758, allocations: 43.44 kB / 0.713 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/0.6759, allocations: 49.59 kB / 0.713 GB, free: 2.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.676, allocations: 330.8 kB / 0.7134 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.6762, allocations: 67.95 kB / 0.7134 GB, free: 2.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.6765, allocations: 139.6 kB / 0.7136 GB, free: 2.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.6769, allocations: 197 kB / 0.7137 GB, free: 2.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6769, allocations: 0 / 0.7137 GB, free: 2.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001477/0.6784, allocations: 374.6 kB / 0.7141 GB, free: 1.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6784, allocations: 12.22 kB / 0.7141 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6785, allocations: 0 / 0.7141 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.6796, allocations: 157.5 kB / 0.7143 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.6798, allocations: 43.91 kB / 0.7143 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/0.684, allocations: 3.244 MB / 0.7175 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.6844, allocations: 31.86 kB / 0.7175 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.6844, allocations: 11.98 kB / 0.7175 GB, free: 14.06 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.0001727/0.6846, allocations: 137.7 kB / 0.7176 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.6847, allocations: 23.66 kB / 0.7177 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.6861, allocations: 374.3 kB / 0.718 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6861, allocations: 4 kB / 0.718 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.6861, allocations: 0 / 0.718 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6861, allocations: 0 / 0.718 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.6865, allocations: 285.2 kB / 0.7183 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6865, allocations: 3.938 kB / 0.7183 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.6867, allocations: 23.98 kB / 0.7183 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008633/0.6875, allocations: 145.7 kB / 0.7185 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.6876, allocations: 0 / 0.7185 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.6914, allocations: 3.297 MB / 0.7217 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6914, allocations: 0 / 0.7217 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.6926, allocations: 436.6 kB / 0.7221 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.6928, allocations: 116.8 kB / 0.7222 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.6928, allocations: 0 / 0.7222 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.6931, allocations: 15.98 kB / 0.7222 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.6932, allocations: 19.97 kB / 0.7222 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6932, allocations: 8 kB / 0.7223 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001924/0.6934, allocations: 156.2 kB / 0.7224 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6935, allocations: 0 / 0.7224 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004319/0.6939, allocations: 75.94 kB / 0.7225 GB, free: 8.559 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.00166/0.6956, allocations: 0.9765 MB / 0.7234 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.6967, allocations: 457.3 kB / 0.7239 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6967, allocations: 0 / 0.7239 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006769/0.6974, allocations: 355.1 kB / 0.7242 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.6978, allocations: 65.75 kB / 0.7243 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.7029, allocations: 2.571 MB / 0.7268 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.7033, allocations: 0.7323 MB / 0.7275 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.7035, allocations: 45.91 kB / 0.7275 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.7036, allocations: 47.42 kB / 0.7276 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.7036, allocations: 0 / 0.7276 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.734, allocations: 7.046 MB / 0.7345 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/0.7343, allocations: 245.6 kB / 0.7347 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.798, allocations: 0 / 0.7347 GB, free: 12.05 MB / 0.5762 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)