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.001098/0.001099, allocations: 105.2 kB / 16.27 MB, free: 6.41 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.00141/0.00141, allocations: 186.4 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7996/0.7996, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 67.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3995, allocations: 77.91 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002994/0.4025, allocations: 1.899 MB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1676/0.5701, allocations: 155.4 MB / 0.7209 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.5705, allocations: 4 kB / 0.7209 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.5708, allocations: 23.67 kB / 0.7209 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.5713, allocations: 83.34 kB / 0.721 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.5723, allocations: 256.9 kB / 0.7213 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.5728, allocations: 263.1 kB / 0.7215 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.573, allocations: 68.64 kB / 0.7216 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.5744, allocations: 247.7 kB / 0.7218 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.5746, allocations: 95.59 kB / 0.7219 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.697e-05/0.5747, allocations: 12 kB / 0.7219 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.5751, allocations: 183.7 kB / 0.7221 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.5752, allocations: 43.84 kB / 0.7221 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.5753, allocations: 99.5 kB / 0.7222 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.5758, allocations: 275.2 kB / 0.7225 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5759, allocations: 0 / 0.7225 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5759, allocations: 0 / 0.7225 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.5759, allocations: 0 / 0.7225 GB, free: 11.36 MB / 0.5606 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.001173/0.5771, allocations: 0.53 MB / 0.723 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.5771, allocations: 8.625 kB / 0.723 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/0.5772, allocations: 50.55 kB / 0.7231 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.5782, allocations: 87.64 kB / 0.7232 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.5786, allocations: 226.6 kB / 0.7234 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.5787, allocations: 41.97 kB / 0.7234 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.5788, allocations: 24 kB / 0.7234 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.5794, allocations: 262.5 kB / 0.7237 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.5794, allocations: 4 kB / 0.7237 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.5795, allocations: 8 kB / 0.7237 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.5795, allocations: 4 kB / 0.7237 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.58, allocations: 167.8 kB / 0.7239 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.5817, allocations: 1.177 MB / 0.725 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.5825, allocations: 214.6 kB / 0.7252 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.5827, allocations: 68.81 kB / 0.7253 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.5827, allocations: 7.984 kB / 0.7253 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5828, allocations: 34.56 kB / 0.7253 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.5828, allocations: 0 / 0.7253 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002797/0.5856, allocations: 0.6258 MB / 0.7259 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5856, allocations: 51.41 kB / 0.726 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.5859, allocations: 215 kB / 0.7262 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.586, allocations: 33.64 kB / 0.7262 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5861, allocations: 144 kB / 0.7264 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.5861, allocations: 31.47 kB / 0.7264 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5862, allocations: 53.58 kB / 0.7264 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5864, allocations: 330.8 kB / 0.7267 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.5866, allocations: 71.94 kB / 0.7268 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.5869, allocations: 127.7 kB / 0.7269 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.5873, allocations: 201.1 kB / 0.7271 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5874, allocations: 4 kB / 0.7271 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001551/0.5889, allocations: 370.7 kB / 0.7275 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.5889, allocations: 4 kB / 0.7275 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.589, allocations: 7.984 kB / 0.7275 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.5901, allocations: 157.8 kB / 0.7277 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.5903, allocations: 39.89 kB / 0.7277 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.5945, allocations: 3.263 MB / 0.7309 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.5949, allocations: 35.67 kB / 0.7309 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.5949, allocations: 11.98 kB / 0.7309 GB, free: 2.055 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.0001625/0.5951, allocations: 135.5 kB / 0.7311 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.5952, allocations: 15.81 kB / 0.7311 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.5965, allocations: 380.2 kB / 0.7314 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5965, allocations: 0 / 0.7314 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5966, allocations: 0 / 0.7314 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5966, allocations: 192 / 0.7314 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.5969, allocations: 289.2 kB / 0.7317 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5969, allocations: 3.984 kB / 0.7317 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.5971, allocations: 19.98 kB / 0.7317 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008412/0.5979, allocations: 137.6 kB / 0.7319 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.5979, allocations: 8 kB / 0.7319 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.6016, allocations: 3.3 MB / 0.7351 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6016, allocations: 4 kB / 0.7351 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.6029, allocations: 430.2 kB / 0.7355 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.603, allocations: 108.8 kB / 0.7356 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.603, allocations: 8 kB / 0.7356 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.6033, allocations: 7.984 kB / 0.7356 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.6034, allocations: 24.03 kB / 0.7356 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.6035, allocations: 12 kB / 0.7357 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001964/0.6037, allocations: 167.2 kB / 0.7358 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6037, allocations: 0 / 0.7358 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004317/0.6041, allocations: 75.84 kB / 0.7359 GB, free: 12.56 MB / 0.5762 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.001623/0.6058, allocations: 0.9688 MB / 0.7368 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.6069, allocations: 453.5 kB / 0.7373 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6069, allocations: 0 / 0.7373 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007062/0.6076, allocations: 371.5 kB / 0.7376 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.6081, allocations: 56.72 kB / 0.7377 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.6132, allocations: 2.519 MB / 0.7401 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.6136, allocations: 0.7323 MB / 0.7409 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.6139, allocations: 37.92 kB / 0.7409 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.614, allocations: 55.41 kB / 0.7409 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.614, allocations: 4 kB / 0.7409 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.6463, allocations: 7.171 MB / 0.7479 GB, free: 200 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.18, allocations: 6.516 kB / 0.748 GB, free: 196 kB / 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)