Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_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.006952/0.006952, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001264/0.001264, allocations: 190.2 kB / 16.67 MB, free: 5.91 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8502/0.8502, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 61.53 kB / 0.5851 GB, free: 22.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1493, allocations: 80.91 MB / 0.6641 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002959/0.1524, allocations: 1.644 MB / 0.6657 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5785/0.7309, allocations: 149.7 MB / 0.8119 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.7311, allocations: 1.188 kB / 0.8119 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.7313, allocations: 24.45 kB / 0.812 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.7317, allocations: 56.02 kB / 0.812 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.7323, allocations: 183.8 kB / 0.8122 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.7325, allocations: 153 kB / 0.8123 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.7327, allocations: 40.12 kB / 0.8124 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.7342, allocations: 190 kB / 0.8125 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.7344, allocations: 63.02 kB / 0.8126 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.7344, allocations: 8.75 kB / 0.8126 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.7348, allocations: 170.1 kB / 0.8128 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.7349, allocations: 22.83 kB / 0.8128 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.735, allocations: 48.58 kB / 0.8128 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005432/0.7356, allocations: 195 kB / 0.813 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7356, allocations: 5.375 kB / 0.813 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7356, allocations: 0 / 0.813 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.7356, allocations: 0 / 0.813 GB, free: 10.83 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.0009962/0.7366, allocations: 465.1 kB / 0.8135 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.7367, allocations: 14.64 kB / 0.8135 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.7367, allocations: 42.95 kB / 0.8135 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/0.7374, allocations: 55.5 kB / 0.8136 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.7377, allocations: 199.9 kB / 0.8138 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.7377, allocations: 9.812 kB / 0.8138 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.7377, allocations: 8.875 kB / 0.8138 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.7383, allocations: 182.8 kB / 0.814 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.7383, allocations: 0 / 0.814 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.7384, allocations: 5.281 kB / 0.814 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.7384, allocations: 3.656 kB / 0.814 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/0.7389, allocations: 143.6 kB / 0.8141 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.7402, allocations: 0.8235 MB / 0.8149 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.7406, allocations: 131 kB / 0.815 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.7409, allocations: 84.67 kB / 0.8151 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.741, allocations: 3.484 kB / 0.8151 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.741, allocations: 32.38 kB / 0.8152 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.741, allocations: 0 / 0.8152 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001963/0.743, allocations: 461.3 kB / 0.8156 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.743, allocations: 52.78 kB / 0.8156 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.7432, allocations: 145.6 kB / 0.8158 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.7432, allocations: 29.2 kB / 0.8158 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.7433, allocations: 111 kB / 0.8159 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.7433, allocations: 27.34 kB / 0.8159 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.7434, allocations: 32.78 kB / 0.816 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.7435, allocations: 320.9 kB / 0.8163 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.7438, allocations: 76.94 kB / 0.8164 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.7441, allocations: 101.2 kB / 0.8165 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.7446, allocations: 183.8 kB / 0.8166 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7446, allocations: 0 / 0.8166 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001113/0.7457, allocations: 280.7 kB / 0.8169 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7458, allocations: 10.81 kB / 0.8169 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.7458, allocations: 6.703 kB / 0.8169 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/0.7464, allocations: 92.91 kB / 0.817 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.7466, allocations: 31.72 kB / 0.817 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.7487, allocations: 1.652 MB / 0.8186 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.7489, allocations: 26.06 kB / 0.8187 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.7489, allocations: 12.11 kB / 0.8187 GB, free: 6.531 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.0001197/0.7491, allocations: 127.7 kB / 0.8188 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.7491, allocations: 9.297 kB / 0.8188 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.7502, allocations: 309.9 kB / 0.8191 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7502, allocations: 6.625 kB / 0.8191 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.7502, allocations: 0 / 0.8191 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.7502, allocations: 192 / 0.8191 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.7505, allocations: 236.6 kB / 0.8193 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7505, allocations: 0 / 0.8193 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.7507, allocations: 31.44 kB / 0.8194 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.7511, allocations: 76.95 kB / 0.8194 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.7512, allocations: 7.922 kB / 0.8195 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.753, allocations: 1.678 MB / 0.8211 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7531, allocations: 0 / 0.8211 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.7541, allocations: 384.2 kB / 0.8215 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.7542, allocations: 94.72 kB / 0.8215 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.7542, allocations: 3.281 kB / 0.8216 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.7545, allocations: 26.72 kB / 0.8216 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.7545, allocations: 9.953 kB / 0.8216 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.7546, allocations: 4.531 kB / 0.8216 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.957e-05/0.7546, allocations: 110.5 kB / 0.8217 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7547, allocations: 2.875 kB / 0.8217 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003584/0.755, allocations: 41.45 kB / 0.8217 GB, free: 4.086 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.001468/0.7565, allocations: 0.9268 MB / 0.8226 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008964/0.7574, allocations: 302.3 kB / 0.8229 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7574, allocations: 0 / 0.8229 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.7579, allocations: 234.1 kB / 0.8232 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.7583, allocations: 26.66 kB / 0.8232 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.7623, allocations: 2.06 MB / 0.8252 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.7626, allocations: 0.7029 MB / 0.8259 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.7627, allocations: 31.33 kB / 0.8259 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.7628, allocations: 34.86 kB / 0.8259 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.7628, allocations: 0 / 0.8259 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.7886, allocations: 4.737 MB / 0.8306 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.53, allocations: 8.766 kB / 0.8306 GB, free: 14.26 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)