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.001421/0.001421, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001318/0.001318, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8219/0.8219, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003151/0.003151, allocations: 68.91 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.165, allocations: 78.87 MB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003007/0.168, allocations: 1.667 MB / 0.6522 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5084/0.6765, allocations: 149.7 MB / 0.7983 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.6766, allocations: 1.125 kB / 0.7983 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.6768, allocations: 24.31 kB / 0.7984 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.6771, allocations: 52.09 kB / 0.7984 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.6776, allocations: 184.4 kB / 0.7986 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.6778, allocations: 162.9 kB / 0.7987 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.678, allocations: 36.56 kB / 0.7988 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.6792, allocations: 202.6 kB / 0.799 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.6794, allocations: 58.45 kB / 0.799 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.6794, allocations: 9.312 kB / 0.799 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.6797, allocations: 162 kB / 0.7992 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.6798, allocations: 24.95 kB / 0.7992 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.6799, allocations: 55.09 kB / 0.7993 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.6802, allocations: 201 kB / 0.7995 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6802, allocations: 0 / 0.7995 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6803, allocations: 0 / 0.7995 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.6803, allocations: 0 / 0.7995 GB, free: 12.16 MB / 0.5919 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.0008865/0.6812, allocations: 477.6 kB / 0.7999 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.6812, allocations: 9.188 kB / 0.7999 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.6813, allocations: 42.73 kB / 0.8 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.6819, allocations: 60.28 kB / 0.8 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.6821, allocations: 204.3 kB / 0.8002 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.6821, allocations: 9.781 kB / 0.8002 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.6822, allocations: 4.906 kB / 0.8002 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.6826, allocations: 188.1 kB / 0.8004 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6826, allocations: 1.844 kB / 0.8004 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.6827, allocations: 3.312 kB / 0.8004 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6827, allocations: 3.531 kB / 0.8004 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.6831, allocations: 152.6 kB / 0.8006 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.6843, allocations: 0.8246 MB / 0.8014 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.6847, allocations: 138.8 kB / 0.8015 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.685, allocations: 79.41 kB / 0.8016 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.685, allocations: 7.969 kB / 0.8016 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.685, allocations: 37.14 kB / 0.8016 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.685, allocations: 1.375 kB / 0.8016 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001966/0.687, allocations: 453.5 kB / 0.8021 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.6871, allocations: 52.25 kB / 0.8021 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.6872, allocations: 159.4 kB / 0.8023 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.6873, allocations: 25.7 kB / 0.8023 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.6874, allocations: 115.4 kB / 0.8024 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.6874, allocations: 32.77 kB / 0.8024 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.6875, allocations: 30.02 kB / 0.8024 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.6877, allocations: 329.1 kB / 0.8028 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.688, allocations: 67.59 kB / 0.8028 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.6883, allocations: 106 kB / 0.8029 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.6888, allocations: 179.4 kB / 0.8031 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6888, allocations: 1.188 kB / 0.8031 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001043/0.6899, allocations: 277.4 kB / 0.8034 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6899, allocations: 13.69 kB / 0.8034 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6899, allocations: 3.984 kB / 0.8034 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.6906, allocations: 85.56 kB / 0.8035 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.6908, allocations: 29.66 kB / 0.8035 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.6932, allocations: 1.658 MB / 0.8051 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.6935, allocations: 25.41 kB / 0.8051 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.6935, allocations: 5.906 kB / 0.8051 GB, free: 8.242 MB / 0.5919 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 0.0001323/0.6936, allocations: 126.1 kB / 0.8053 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.6937, allocations: 16.09 kB / 0.8053 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.6948, allocations: 310.4 kB / 0.8056 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.6948, allocations: 1.812 kB / 0.8056 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.6948, allocations: 4 kB / 0.8056 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.6948, allocations: 6.203 kB / 0.8056 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.6951, allocations: 247.6 kB / 0.8058 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6951, allocations: 0 / 0.8058 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.6953, allocations: 28.27 kB / 0.8058 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/0.6958, allocations: 76 kB / 0.8059 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.6958, allocations: 10.98 kB / 0.8059 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.6979, allocations: 1.673 MB / 0.8076 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6979, allocations: 0 / 0.8076 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.6989, allocations: 383 kB / 0.8079 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.699, allocations: 105 kB / 0.808 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.6991, allocations: 3.125 kB / 0.808 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.6993, allocations: 22.77 kB / 0.8081 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.6994, allocations: 15.72 kB / 0.8081 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.6994, allocations: 2.5 kB / 0.8081 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.26e-05/0.6995, allocations: 115 kB / 0.8082 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6995, allocations: 3.938 kB / 0.8082 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003596/0.6999, allocations: 51.16 kB / 0.8082 GB, free: 6.074 MB / 0.5919 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.001506/0.7014, allocations: 0.9217 MB / 0.8091 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009289/0.7023, allocations: 309.8 kB / 0.8094 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7023, allocations: 0 / 0.8094 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.7029, allocations: 237.1 kB / 0.8097 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.7032, allocations: 34.08 kB / 0.8097 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.7073, allocations: 2.064 MB / 0.8117 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.7077, allocations: 0.7093 MB / 0.8124 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.7078, allocations: 21.92 kB / 0.8124 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/0.7079, allocations: 36.11 kB / 0.8125 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.7079, allocations: 0 / 0.8125 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.7423, allocations: 4.749 MB / 0.8171 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.07, allocations: 10.5 kB / 0.8171 GB, free: 0.707 MB / 0.5919 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TDryBulXi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)