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.001087/0.001087, allocations: 105.8 kB / 16.27 MB, free: 6.352 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.001191/0.001191, allocations: 190.7 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7617/0.7617, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.4912 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3556, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002991/0.3586, allocations: 1.899 MB / 0.5691 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1631/0.5217, allocations: 155.4 MB / 0.7209 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.5219, allocations: 4 kB / 0.7209 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.5222, allocations: 31.66 kB / 0.7209 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.5226, allocations: 67.44 kB / 0.721 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.5234, allocations: 267.2 kB / 0.7213 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.5237, allocations: 267.1 kB / 0.7215 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.5239, allocations: 68.59 kB / 0.7216 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.5251, allocations: 247.8 kB / 0.7218 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.5253, allocations: 95.59 kB / 0.7219 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.5253, allocations: 15.98 kB / 0.7219 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.5257, allocations: 175.7 kB / 0.7221 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.5258, allocations: 47.81 kB / 0.7221 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.5259, allocations: 95.53 kB / 0.7222 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.5263, allocations: 287.1 kB / 0.7225 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5263, allocations: 0 / 0.7225 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5264, allocations: 0 / 0.7225 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.5264, allocations: 0 / 0.7225 GB, free: 11.37 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.0009821/0.5273, allocations: 0.5261 MB / 0.723 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5274, allocations: 8.625 kB / 0.723 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.5275, allocations: 50.55 kB / 0.7231 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008634/0.5283, allocations: 91.62 kB / 0.7232 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.5286, allocations: 227.7 kB / 0.7234 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.682e-05/0.5287, allocations: 38.03 kB / 0.7234 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.5288, allocations: 16 kB / 0.7234 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.5293, allocations: 270.5 kB / 0.7237 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5293, allocations: 3.938 kB / 0.7237 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.5294, allocations: 12 kB / 0.7237 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.5294, allocations: 4 kB / 0.7237 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.5299, allocations: 167.8 kB / 0.7239 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.5317, allocations: 1.173 MB / 0.725 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.5324, allocations: 202.6 kB / 0.7252 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.5326, allocations: 72.81 kB / 0.7253 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.5327, allocations: 4 kB / 0.7253 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5327, allocations: 34.56 kB / 0.7253 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/0.5327, allocations: 0 / 0.7253 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002742/0.5355, allocations: 0.6336 MB / 0.7259 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.5355, allocations: 51.41 kB / 0.726 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.5358, allocations: 215 kB / 0.7262 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.5358, allocations: 25.7 kB / 0.7262 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.5359, allocations: 144 kB / 0.7263 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.5359, allocations: 35.45 kB / 0.7264 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.536, allocations: 49.59 kB / 0.7264 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.5361, allocations: 330.8 kB / 0.7267 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.5364, allocations: 71.94 kB / 0.7268 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.5366, allocations: 132.5 kB / 0.7269 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.5371, allocations: 198.7 kB / 0.7271 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5371, allocations: 4 kB / 0.7271 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001453/0.5385, allocations: 374.7 kB / 0.7275 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5386, allocations: 4 kB / 0.7275 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5386, allocations: 4 kB / 0.7275 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.5397, allocations: 161.7 kB / 0.7277 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.5399, allocations: 39.91 kB / 0.7277 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/0.544, allocations: 3.258 MB / 0.7309 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.5444, allocations: 43.73 kB / 0.7309 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.5444, allocations: 4 kB / 0.7309 GB, free: 2.07 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.0001615/0.5446, allocations: 137.8 kB / 0.731 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.5447, allocations: 15.81 kB / 0.7311 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.546, allocations: 381.6 kB / 0.7314 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.546, allocations: 0 / 0.7314 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.546, allocations: 0 / 0.7314 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.546, allocations: 3.984 kB / 0.7314 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.5464, allocations: 281.2 kB / 0.7317 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5464, allocations: 4 kB / 0.7317 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.5465, allocations: 19.98 kB / 0.7317 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008532/0.5474, allocations: 141.5 kB / 0.7319 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.5474, allocations: 4 kB / 0.7319 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003626/0.551, allocations: 3.293 MB / 0.7351 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5511, allocations: 4 kB / 0.7351 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5524, allocations: 434.4 kB / 0.7355 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5525, allocations: 112.8 kB / 0.7356 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.5526, allocations: 4.188 kB / 0.7356 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.5529, allocations: 15.98 kB / 0.7356 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.553, allocations: 19.97 kB / 0.7356 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.553, allocations: 8.109 kB / 0.7356 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001997/0.5532, allocations: 167.2 kB / 0.7358 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5532, allocations: 3.938 kB / 0.7358 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004451/0.5537, allocations: 75.84 kB / 0.7359 GB, free: 12.57 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.001652/0.5553, allocations: 0.9744 MB / 0.7368 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.5564, allocations: 453.5 kB / 0.7373 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5565, allocations: 4 kB / 0.7373 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006901/0.5572, allocations: 353.2 kB / 0.7376 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.5576, allocations: 63.89 kB / 0.7377 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.5627, allocations: 2.521 MB / 0.7401 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.5631, allocations: 0.7401 MB / 0.7409 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.5634, allocations: 37.92 kB / 0.7409 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.5635, allocations: 59.41 kB / 0.7409 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.5635, allocations: 0 / 0.7409 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.5941, allocations: 7.161 MB / 0.7479 GB, free: 216 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.29, allocations: 8.844 kB / 0.7479 GB, free: 212 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)