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.009155/0.009155, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.002063/0.002063, allocations: 190 kB / 16.67 MB, free: 5.934 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8218/0.8218, allocations: 135.1 MB / 425.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.33 kB / 0.5851 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1482, allocations: 80.92 MB / 0.6641 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002713/0.151, allocations: 1.648 MB / 0.6657 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5815/0.7325, allocations: 149.7 MB / 0.8119 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.7327, allocations: 0 / 0.8119 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.733, allocations: 22.98 kB / 0.812 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.7333, allocations: 51.53 kB / 0.812 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.7338, allocations: 180.3 kB / 0.8122 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.734, allocations: 162.2 kB / 0.8123 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.7342, allocations: 36.95 kB / 0.8124 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.7355, allocations: 194.7 kB / 0.8126 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.7356, allocations: 60.19 kB / 0.8126 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.7356, allocations: 9.125 kB / 0.8126 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.736, allocations: 162.7 kB / 0.8128 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.736, allocations: 24.22 kB / 0.8128 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.7361, allocations: 53.25 kB / 0.8128 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.7365, allocations: 197.3 kB / 0.813 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.7365, allocations: 0 / 0.813 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7365, allocations: 6.875 kB / 0.813 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.7365, allocations: 0 / 0.813 GB, free: 10.9 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.0008952/0.7374, allocations: 457 kB / 0.8135 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7375, allocations: 18.02 kB / 0.8135 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.7375, allocations: 42.98 kB / 0.8135 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005983/0.7381, allocations: 56.28 kB / 0.8136 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.7384, allocations: 201.1 kB / 0.8138 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.7384, allocations: 7.438 kB / 0.8138 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.7384, allocations: 8.125 kB / 0.8138 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.7388, allocations: 177.3 kB / 0.814 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7388, allocations: 1.375 kB / 0.814 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.7389, allocations: 3.188 kB / 0.814 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7389, allocations: 10.69 kB / 0.814 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.7393, allocations: 144 kB / 0.8141 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.7405, allocations: 0.8217 MB / 0.8149 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.7409, allocations: 129.1 kB / 0.815 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.7412, allocations: 89.22 kB / 0.8151 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.7413, allocations: 5.375 kB / 0.8151 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.7413, allocations: 31.56 kB / 0.8152 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.7413, allocations: 1.375 kB / 0.8152 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001822/0.7431, allocations: 454.2 kB / 0.8156 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.7432, allocations: 53.56 kB / 0.8157 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.7433, allocations: 146.9 kB / 0.8158 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.7434, allocations: 31.48 kB / 0.8158 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.7434, allocations: 113.3 kB / 0.8159 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.7435, allocations: 27.48 kB / 0.816 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.7435, allocations: 35.7 kB / 0.816 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7437, allocations: 321 kB / 0.8163 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.7439, allocations: 72.22 kB / 0.8164 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.7442, allocations: 105.1 kB / 0.8165 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.7446, allocations: 181.6 kB / 0.8166 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.7446, allocations: 1.344 kB / 0.8166 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009917/0.7456, allocations: 280.5 kB / 0.8169 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.7457, allocations: 11.03 kB / 0.8169 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.7457, allocations: 0 / 0.8169 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.7462, allocations: 89.41 kB / 0.817 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.7464, allocations: 32.95 kB / 0.817 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.7485, allocations: 1.654 MB / 0.8186 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.7488, allocations: 29.33 kB / 0.8187 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.7488, allocations: 4.719 kB / 0.8187 GB, free: 6.586 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.0001162/0.7489, allocations: 126.7 kB / 0.8188 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.749, allocations: 9.078 kB / 0.8188 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009976/0.75, allocations: 314.6 kB / 0.8191 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.75, allocations: 0 / 0.8191 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.75, allocations: 2.281 kB / 0.8191 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.75, allocations: 192 / 0.8191 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.7503, allocations: 234.5 kB / 0.8193 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.7503, allocations: 0 / 0.8193 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.7505, allocations: 38.7 kB / 0.8194 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.7509, allocations: 79.2 kB / 0.8194 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.7509, allocations: 6.844 kB / 0.8195 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.7528, allocations: 1.683 MB / 0.8211 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.7528, allocations: 400 / 0.8211 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.7538, allocations: 380.8 kB / 0.8215 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.7539, allocations: 94.02 kB / 0.8216 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.7539, allocations: 6.812 kB / 0.8216 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.7541, allocations: 23.11 kB / 0.8216 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.7542, allocations: 13.03 kB / 0.8216 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.7542, allocations: 6.688 kB / 0.8216 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.11e-05/0.7543, allocations: 104.2 kB / 0.8217 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7543, allocations: 0 / 0.8217 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003604/0.7546, allocations: 46.3 kB / 0.8217 GB, free: 4.137 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.001396/0.7561, allocations: 0.9205 MB / 0.8226 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.7571, allocations: 307.6 kB / 0.8229 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7571, allocations: 0 / 0.8229 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.7577, allocations: 237.8 kB / 0.8232 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.758, allocations: 25.62 kB / 0.8232 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.7622, allocations: 2.05 MB / 0.8252 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.7626, allocations: 0.7036 MB / 0.8259 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.7627, allocations: 31.16 kB / 0.8259 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.7628, allocations: 40.31 kB / 0.8259 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.7628, allocations: 0 / 0.8259 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.7905, allocations: 4.724 MB / 0.8306 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.4, allocations: 13.17 kB / 0.8306 GB, free: 14.34 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)