Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_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.008314/0.008314, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.001657/0.001657, allocations: 195.7 kB / 16.68 MB, free: 5.523 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002379/0.002379, allocations: 290.7 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.218/1.218, allocations: 178.5 MB / 0.5074 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 103.8 kB / 0.6943 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4539, allocations: 89.12 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002988/0.4569, allocations: 1.922 MB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.6366, allocations: 155.4 MB / 0.935 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.6368, allocations: 0 / 0.935 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.637, allocations: 31.67 kB / 0.935 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.6374, allocations: 79.41 kB / 0.9351 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.6382, allocations: 251.2 kB / 0.9353 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.6385, allocations: 267.1 kB / 0.9356 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.6387, allocations: 78.38 kB / 0.9357 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.6402, allocations: 245.3 kB / 0.9359 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.6404, allocations: 95.59 kB / 0.936 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.6404, allocations: 12 kB / 0.936 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.6409, allocations: 191.6 kB / 0.9362 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.6409, allocations: 39.89 kB / 0.9362 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.6411, allocations: 91.53 kB / 0.9363 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.6416, allocations: 289.3 kB / 0.9366 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6416, allocations: 0 / 0.9366 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6416, allocations: 0 / 0.9366 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6417, allocations: 0 / 0.9366 GB, free: 9.18 MB / 0.7012 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.001102/0.6428, allocations: 0.5296 MB / 0.9371 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.6428, allocations: 8.031 kB / 0.9371 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.284e-05/0.6429, allocations: 58.55 kB / 0.9372 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008817/0.6438, allocations: 83.77 kB / 0.9372 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.6441, allocations: 230.7 kB / 0.9375 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/0.6442, allocations: 46.03 kB / 0.9375 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.6443, allocations: 16 kB / 0.9375 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.6449, allocations: 258.6 kB / 0.9378 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6449, allocations: 0 / 0.9378 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.6449, allocations: 8 kB / 0.9378 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.645, allocations: 4 kB / 0.9378 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.6454, allocations: 167.8 kB / 0.9379 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.6472, allocations: 1.173 MB / 0.9391 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/0.648, allocations: 214.7 kB / 0.9393 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.6482, allocations: 68.81 kB / 0.9394 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.6482, allocations: 7.938 kB / 0.9394 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6483, allocations: 30.56 kB / 0.9394 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.6483, allocations: 4 kB / 0.9394 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=12): time 0.002812/0.6511, allocations: 0.622 MB / 0.94 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.6512, allocations: 59.34 kB / 0.9401 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.6514, allocations: 207 kB / 0.9403 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.6515, allocations: 33.7 kB / 0.9403 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.6516, allocations: 144.1 kB / 0.9404 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.6517, allocations: 43.69 kB / 0.9405 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6518, allocations: 49.64 kB / 0.9405 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6519, allocations: 326.8 kB / 0.9408 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.6521, allocations: 71.94 kB / 0.9409 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.6524, allocations: 128.6 kB / 0.941 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.6529, allocations: 200.8 kB / 0.9412 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6529, allocations: 0 / 0.9412 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001523/0.6544, allocations: 382.7 kB / 0.9416 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6545, allocations: 7.938 kB / 0.9416 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6545, allocations: 4 kB / 0.9416 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.6556, allocations: 165.7 kB / 0.9417 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.6558, allocations: 31.97 kB / 0.9418 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/0.6602, allocations: 3.257 MB / 0.945 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.6605, allocations: 31.81 kB / 0.945 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.6606, allocations: 8 kB / 0.945 GB, free: 15.88 MB / 0.7169 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.0001534/0.6607, allocations: 138.5 kB / 0.9451 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.6608, allocations: 19.86 kB / 0.9451 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.6622, allocations: 369.1 kB / 0.9455 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.6622, allocations: 4 kB / 0.9455 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.6622, allocations: 0 / 0.9455 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6622, allocations: 3.984 kB / 0.9455 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.6626, allocations: 277.4 kB / 0.9458 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.6626, allocations: 7.938 kB / 0.9458 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.6627, allocations: 27.92 kB / 0.9458 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008546/0.6636, allocations: 141.5 kB / 0.9459 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.6636, allocations: 0 / 0.9459 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.6675, allocations: 3.293 MB / 0.9492 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6675, allocations: 3.938 kB / 0.9492 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.669, allocations: 438.5 kB / 0.9496 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.6692, allocations: 120.9 kB / 0.9497 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.6692, allocations: 4 kB / 0.9497 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.6695, allocations: 19.98 kB / 0.9497 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.6696, allocations: 11.98 kB / 0.9497 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.6696, allocations: 15.92 kB / 0.9497 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002038/0.6698, allocations: 163.8 kB / 0.9499 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6698, allocations: 0 / 0.9499 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004447/0.6703, allocations: 67.94 kB / 0.95 GB, free: 10.39 MB / 0.7169 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.001739/0.672, allocations: 0.9809 MB / 0.9509 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.6732, allocations: 441.9 kB / 0.9513 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6732, allocations: 4 kB / 0.9513 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.674, allocations: 365.1 kB / 0.9517 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.6745, allocations: 60.33 kB / 0.9518 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.6798, allocations: 2.528 MB / 0.9542 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.6802, allocations: 0.7363 MB / 0.9549 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002092/0.6804, allocations: 37.92 kB / 0.955 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.6805, allocations: 55.42 kB / 0.955 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/0.6805, allocations: 0 / 0.955 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.7167, allocations: 7.309 MB / 0.9622 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.63, allocations: 17.36 kB / 0.9622 GB, free: 13.89 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)