Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001069/0.001069, allocations: 100.1 kB / 15.88 MB, free: 12 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.001049/0.001049, allocations: 204.2 kB / 16.79 MB, free: 6.84 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.305/1.305, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6678/0.6678, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 68.06 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1381, allocations: 76.19 MB / 0.5558 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002688/0.1409, allocations: 1.707 MB / 0.5575 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3835/0.5244, allocations: 147.4 MB / 0.7015 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.5245, allocations: 0 / 0.7015 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.5247, allocations: 15.86 kB / 0.7015 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.5249, allocations: 50.08 kB / 0.7015 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.5252, allocations: 163.5 kB / 0.7017 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.5254, allocations: 155.5 kB / 0.7018 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.5255, allocations: 31.5 kB / 0.7019 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.5271, allocations: 176.7 kB / 0.702 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.5272, allocations: 59.75 kB / 0.7021 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.5273, allocations: 4 kB / 0.7021 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.5275, allocations: 159.7 kB / 0.7022 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.5276, allocations: 23.91 kB / 0.7023 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.5276, allocations: 55.72 kB / 0.7023 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.5279, allocations: 203.4 kB / 0.7025 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5279, allocations: 3.938 kB / 0.7025 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5279, allocations: 0 / 0.7025 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.5279, allocations: 3.938 kB / 0.7025 GB, free: 0.8008 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007771/0.5287, allocations: 463.8 kB / 0.703 GB, free: 308 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5288, allocations: 8.031 kB / 0.703 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.5288, allocations: 38.75 kB / 0.703 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006039/0.5294, allocations: 60.69 kB / 0.7031 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.5296, allocations: 205.1 kB / 0.7033 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.5296, allocations: 12 kB / 0.7033 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.5297, allocations: 4 kB / 0.7033 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.5301, allocations: 184.2 kB / 0.7035 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5301, allocations: 0 / 0.7035 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.5301, allocations: 8 kB / 0.7035 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5301, allocations: 4 kB / 0.7035 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.5306, allocations: 139.8 kB / 0.7036 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.5316, allocations: 0.8331 MB / 0.7044 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.532, allocations: 130.4 kB / 0.7045 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.5322, allocations: 80.95 kB / 0.7046 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.5323, allocations: 7.984 kB / 0.7046 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.5323, allocations: 30.56 kB / 0.7047 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.5323, allocations: 0 / 0.7047 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001844/0.5341, allocations: 459.8 kB / 0.7051 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.5342, allocations: 55.41 kB / 0.7051 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.5343, allocations: 154.8 kB / 0.7053 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.5343, allocations: 25.7 kB / 0.7053 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.5344, allocations: 108.2 kB / 0.7054 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.5344, allocations: 31.55 kB / 0.7055 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.5345, allocations: 29.7 kB / 0.7055 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5346, allocations: 322.8 kB / 0.7058 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.5348, allocations: 71.94 kB / 0.7059 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.5351, allocations: 100.2 kB / 0.706 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.5356, allocations: 181.6 kB / 0.7061 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5356, allocations: 4 kB / 0.7061 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00099/0.5366, allocations: 278 kB / 0.7064 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5366, allocations: 7.938 kB / 0.7064 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5366, allocations: 7.984 kB / 0.7064 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/0.5372, allocations: 88.83 kB / 0.7065 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.5374, allocations: 31.95 kB / 0.7065 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.5392, allocations: 1.543 MB / 0.708 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.5394, allocations: 19.83 kB / 0.708 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.5395, allocations: 11.98 kB / 0.7081 GB, free: 10.67 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/0.5396, allocations: 129.8 kB / 0.7082 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.5396, allocations: 7.906 kB / 0.7082 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.5407, allocations: 308.8 kB / 0.7085 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5407, allocations: 11.92 kB / 0.7085 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.5407, allocations: 0 / 0.7085 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5407, allocations: 3.938 kB / 0.7085 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.5409, allocations: 241.4 kB / 0.7087 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.541, allocations: 0 / 0.7087 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.5412, allocations: 31.97 kB / 0.7088 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004699/0.5416, allocations: 80.77 kB / 0.7088 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.5417, allocations: 11.98 kB / 0.7089 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.5433, allocations: 1.565 MB / 0.7104 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5434, allocations: 3.984 kB / 0.7104 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009957/0.5444, allocations: 379 kB / 0.7107 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.5445, allocations: 108.9 kB / 0.7108 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.5445, allocations: 4 kB / 0.7109 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5447, allocations: 15.97 kB / 0.7109 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.5448, allocations: 15.92 kB / 0.7109 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.5448, allocations: 4 kB / 0.7109 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.814e-05/0.5449, allocations: 116.1 kB / 0.711 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5449, allocations: 0 / 0.711 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002928/0.5452, allocations: 40 kB / 0.711 GB, free: 7.387 MB / 0.5294 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/0.5465, allocations: 0.9316 MB / 0.7119 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000826/0.5474, allocations: 303.4 kB / 0.7122 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5474, allocations: 0 / 0.7122 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.5479, allocations: 226.9 kB / 0.7125 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.5482, allocations: 28.84 kB / 0.7125 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.552, allocations: 2.105 MB / 0.7145 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.5523, allocations: 0.7165 MB / 0.7152 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.5524, allocations: 20.88 kB / 0.7153 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.5525, allocations: 35.42 kB / 0.7153 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.5525, allocations: 0 / 0.7153 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4431/0.9956, allocations: 4.278 MB / 0.7195 GB, free: 14.74 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/0.9959, allocations: 248.5 kB / 0.7197 GB, free: 14.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/3.18, allocations: 3.938 kB / 0.7197 GB, free: 14.47 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)