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.001185/0.001185, allocations: 105.9 kB / 16.4 MB, free: 6.461 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.001224/0.001224, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8702/0.8702, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 69.17 kB / 0.5679 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1614, allocations: 77.93 MB / 0.644 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003063/0.1645, allocations: 1.649 MB / 0.6457 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5884/0.7529, allocations: 149.7 MB / 0.7918 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.753, allocations: 0.9688 kB / 0.7918 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.7533, allocations: 21.66 kB / 0.7919 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.7536, allocations: 55.72 kB / 0.7919 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.7541, allocations: 188.4 kB / 0.7921 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.7543, allocations: 164.9 kB / 0.7923 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.7545, allocations: 40.14 kB / 0.7923 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.7556, allocations: 193.7 kB / 0.7925 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.7558, allocations: 63.5 kB / 0.7925 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.7558, allocations: 9.812 kB / 0.7926 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.7561, allocations: 157.9 kB / 0.7927 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.7562, allocations: 36.34 kB / 0.7927 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.7563, allocations: 50.97 kB / 0.7928 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.7566, allocations: 203.3 kB / 0.793 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7566, allocations: 0 / 0.793 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7566, allocations: 0 / 0.793 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7566, allocations: 0 / 0.793 GB, free: 12.82 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.0008905/0.7575, allocations: 472.1 kB / 0.7934 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7576, allocations: 10.72 kB / 0.7934 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.7576, allocations: 38.48 kB / 0.7935 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006181/0.7583, allocations: 60.88 kB / 0.7935 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.7585, allocations: 207.9 kB / 0.7937 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.7585, allocations: 10.95 kB / 0.7937 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.7586, allocations: 12.86 kB / 0.7938 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.759, allocations: 182 kB / 0.7939 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.7591, allocations: 3.938 kB / 0.7939 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.7591, allocations: 2.625 kB / 0.7939 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.7591, allocations: 2.594 kB / 0.7939 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.7596, allocations: 147.2 kB / 0.7941 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.7607, allocations: 0.8227 MB / 0.7949 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.7612, allocations: 130.4 kB / 0.795 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.7614, allocations: 80.3 kB / 0.7951 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.7615, allocations: 3.156 kB / 0.7951 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.7615, allocations: 35 kB / 0.7951 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.7615, allocations: 0 / 0.7951 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0019/0.7634, allocations: 469.3 kB / 0.7956 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.7635, allocations: 52.75 kB / 0.7956 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.7636, allocations: 154.9 kB / 0.7958 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.7637, allocations: 29.2 kB / 0.7958 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.7637, allocations: 109 kB / 0.7959 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.7638, allocations: 28.36 kB / 0.7959 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.7638, allocations: 30.7 kB / 0.796 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.764, allocations: 329.5 kB / 0.7963 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.7642, allocations: 68.22 kB / 0.7963 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.7645, allocations: 105.7 kB / 0.7964 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.765, allocations: 178.9 kB / 0.7966 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.765, allocations: 4 kB / 0.7966 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001118/0.7661, allocations: 284.6 kB / 0.7969 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.7662, allocations: 9.406 kB / 0.7969 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7662, allocations: 1.156 kB / 0.7969 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.7668, allocations: 85.39 kB / 0.797 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.767, allocations: 32.66 kB / 0.797 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.7692, allocations: 1.666 MB / 0.7986 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.7694, allocations: 29.42 kB / 0.7987 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.7694, allocations: 7.203 kB / 0.7987 GB, free: 8.898 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.000115/0.7696, allocations: 121.5 kB / 0.7988 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.7696, allocations: 9.609 kB / 0.7988 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.7707, allocations: 316.8 kB / 0.7991 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7707, allocations: 3.938 kB / 0.7991 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.7707, allocations: 2.844 kB / 0.7991 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7707, allocations: 1.969 kB / 0.7991 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.771, allocations: 239.2 kB / 0.7993 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.771, allocations: 0 / 0.7993 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.7712, allocations: 33.59 kB / 0.7994 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/0.7716, allocations: 78.3 kB / 0.7994 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.7717, allocations: 12.89 kB / 0.7994 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.7735, allocations: 1.677 MB / 0.8011 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7735, allocations: 0 / 0.8011 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.7746, allocations: 384.8 kB / 0.8015 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.7747, allocations: 113.8 kB / 0.8016 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.7747, allocations: 0 / 0.8016 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.775, allocations: 19.22 kB / 0.8016 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.775, allocations: 14.7 kB / 0.8016 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.7751, allocations: 10 kB / 0.8016 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.055e-05/0.7752, allocations: 118.9 kB / 0.8017 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7752, allocations: 0 / 0.8017 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003567/0.7755, allocations: 43.09 kB / 0.8018 GB, free: 6.742 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.001534/0.7771, allocations: 0.9168 MB / 0.8027 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000948/0.778, allocations: 317.7 kB / 0.803 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.778, allocations: 0 / 0.803 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.7786, allocations: 229.2 kB / 0.8032 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.7789, allocations: 25.88 kB / 0.8032 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.7828, allocations: 2.063 MB / 0.8052 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.7831, allocations: 0.7074 MB / 0.8059 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.7833, allocations: 25.62 kB / 0.8059 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.7834, allocations: 38.88 kB / 0.806 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7834, allocations: 0 / 0.806 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.8092, allocations: 4.736 MB / 0.8106 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.23, allocations: 6.797 kB / 0.8106 GB, free: 1.887 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)