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.001531/0.00153, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001765/0.001765, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8159/0.8159, allocations: 126.1 MB / 417.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.31 kB / 0.5726 GB, free: 27.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1673, allocations: 78.71 MB / 0.6494 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003027/0.1703, allocations: 1.657 MB / 0.6511 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.561/0.7314, allocations: 149.7 MB / 0.7972 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.7316, allocations: 1.25 kB / 0.7972 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.7317, allocations: 22.91 kB / 0.7973 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.7321, allocations: 58.92 kB / 0.7973 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.7327, allocations: 187 kB / 0.7975 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.7329, allocations: 162.5 kB / 0.7977 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.7331, allocations: 41.72 kB / 0.7977 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.7344, allocations: 184 kB / 0.7979 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.7346, allocations: 65.03 kB / 0.7979 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.7346, allocations: 9.688 kB / 0.7979 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.735, allocations: 163.5 kB / 0.7981 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.7351, allocations: 31.41 kB / 0.7981 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.7352, allocations: 54.05 kB / 0.7982 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.7356, allocations: 206 kB / 0.7984 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7357, allocations: 0 / 0.7984 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7357, allocations: 0 / 0.7984 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.7357, allocations: 2.969 kB / 0.7984 GB, free: 12.19 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.001006/0.7367, allocations: 467.7 kB / 0.7988 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.7368, allocations: 7.75 kB / 0.7988 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.7368, allocations: 42.64 kB / 0.7989 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/0.7375, allocations: 59.41 kB / 0.7989 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.7378, allocations: 212.1 kB / 0.7991 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.7378, allocations: 9.172 kB / 0.7991 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.7379, allocations: 5.906 kB / 0.7991 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.7384, allocations: 181.4 kB / 0.7993 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.7384, allocations: 6.625 kB / 0.7993 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.7384, allocations: 3.375 kB / 0.7993 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.7385, allocations: 2.875 kB / 0.7993 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.739, allocations: 146.9 kB / 0.7995 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.7403, allocations: 0.8313 MB / 0.8003 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.7408, allocations: 128.2 kB / 0.8004 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.7411, allocations: 81.09 kB / 0.8005 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.7412, allocations: 3.984 kB / 0.8005 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.7412, allocations: 34.39 kB / 0.8005 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.7412, allocations: 0 / 0.8005 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.002044/0.7433, allocations: 467.8 kB / 0.801 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.7433, allocations: 51.41 kB / 0.801 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.7435, allocations: 155.3 kB / 0.8012 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.7435, allocations: 27.67 kB / 0.8012 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.7436, allocations: 112.8 kB / 0.8013 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.7437, allocations: 28.98 kB / 0.8013 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.7438, allocations: 32.84 kB / 0.8014 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7439, allocations: 327.1 kB / 0.8017 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.7441, allocations: 66.89 kB / 0.8017 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.7444, allocations: 110 kB / 0.8018 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.745, allocations: 180 kB / 0.802 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.745, allocations: 0 / 0.802 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00107/0.7461, allocations: 279.8 kB / 0.8023 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.7461, allocations: 12.2 kB / 0.8023 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7461, allocations: 1.906 kB / 0.8023 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.7467, allocations: 86.08 kB / 0.8024 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.7469, allocations: 29.64 kB / 0.8024 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.7493, allocations: 1.658 MB / 0.804 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.7495, allocations: 34.88 kB / 0.8041 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.7495, allocations: 5.938 kB / 0.8041 GB, free: 8.273 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.0001255/0.7497, allocations: 125.2 kB / 0.8042 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.7497, allocations: 12.84 kB / 0.8042 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.7509, allocations: 313.6 kB / 0.8045 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.7509, allocations: 1.219 kB / 0.8045 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.7509, allocations: 1.344 kB / 0.8045 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7509, allocations: 2.391 kB / 0.8045 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.7512, allocations: 241.2 kB / 0.8047 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7512, allocations: 0 / 0.8047 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.7514, allocations: 35.97 kB / 0.8048 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.7519, allocations: 74.19 kB / 0.8048 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.7519, allocations: 11.52 kB / 0.8048 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.754, allocations: 1.672 MB / 0.8065 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.754, allocations: 0 / 0.8065 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.7551, allocations: 384.7 kB / 0.8068 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.7553, allocations: 109.6 kB / 0.8069 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.7553, allocations: 64 / 0.8069 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.7555, allocations: 22.94 kB / 0.807 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.7556, allocations: 22.3 kB / 0.807 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.7557, allocations: 1.781 kB / 0.807 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001145/0.7558, allocations: 120 kB / 0.8071 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7558, allocations: 3.938 kB / 0.8071 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004131/0.7562, allocations: 42.75 kB / 0.8071 GB, free: 6.117 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.001561/0.7578, allocations: 0.9271 MB / 0.8081 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.7588, allocations: 310.5 kB / 0.8083 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.7589, allocations: 3.125 kB / 0.8083 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.7595, allocations: 226.5 kB / 0.8086 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.7598, allocations: 33.09 kB / 0.8086 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.7642, allocations: 2.059 MB / 0.8106 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.7646, allocations: 0.7088 MB / 0.8113 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000156/0.7648, allocations: 32.38 kB / 0.8113 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.7649, allocations: 33.39 kB / 0.8114 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.7649, allocations: 0 / 0.8114 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.7927, allocations: 4.735 MB / 0.816 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.21, allocations: 4.625 kB / 0.816 GB, free: 0.8984 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)