Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",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.001693/0.001693, allocations: 105.9 kB / 16.4 MB, free: 6.512 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.001267/0.001267, allocations: 192 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7716/0.7716, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 69.09 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.148, allocations: 78.87 MB / 0.6506 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4852/0.6333, allocations: 161.5 MB / 0.8083 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003809/0.6372, allocations: 3.484 MB / 0.8117 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.6375, allocations: 15.22 kB / 0.8117 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.6379, allocations: 130.2 kB / 0.8118 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.639, allocations: 452.5 kB / 0.8123 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.6404, allocations: 0.591 MB / 0.8128 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.641, allocations: 0.6284 MB / 0.8135 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.6413, allocations: 231.4 kB / 0.8137 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.6429, allocations: 494.4 kB / 0.8141 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.6431, allocations: 192.3 kB / 0.8143 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.6432, allocations: 21.03 kB / 0.8143 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.6441, allocations: 0.539 MB / 0.8149 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.6442, allocations: 87.53 kB / 0.815 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.6443, allocations: 149.4 kB / 0.8151 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008011/0.6452, allocations: 0.56 MB / 0.8156 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6452, allocations: 0 / 0.8156 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6452, allocations: 0 / 0.8156 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6452, allocations: 0 / 0.8156 GB, free: 9.965 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001074/0.6463, allocations: 0.6517 MB / 0.8163 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6463, allocations: 10.31 kB / 0.8163 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.013e-05/0.6464, allocations: 55.98 kB / 0.8163 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004912/0.6469, allocations: 69.95 kB / 0.8164 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.6473, allocations: 317.1 kB / 0.8167 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.6473, allocations: 15.28 kB / 0.8167 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.6474, allocations: 19.34 kB / 0.8167 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.648, allocations: 307 kB / 0.817 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.648, allocations: 3.938 kB / 0.817 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.648, allocations: 14 kB / 0.8171 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.648, allocations: 9.047 kB / 0.8171 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.6487, allocations: 246.9 kB / 0.8173 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.6502, allocations: 1.244 MB / 0.8185 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.6507, allocations: 176.5 kB / 0.8187 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.651, allocations: 123 kB / 0.8188 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005671/0.6516, allocations: 301.3 kB / 0.8191 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.6516, allocations: 36.5 kB / 0.8191 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 4.599e-06/0.6516, allocations: 3.938 kB / 0.8191 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002126/0.6537, allocations: 0.5757 MB / 0.8197 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6538, allocations: 54.47 kB / 0.8197 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.6541, allocations: 261.1 kB / 0.82 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.6541, allocations: 25.7 kB / 0.82 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.6542, allocations: 175.4 kB / 0.8202 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.6543, allocations: 48 kB / 0.8202 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.6544, allocations: 38.77 kB / 0.8203 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6545, allocations: 337.7 kB / 0.8206 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.6548, allocations: 94.5 kB / 0.8207 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.6551, allocations: 143.8 kB / 0.8208 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.6557, allocations: 232.3 kB / 0.821 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6558, allocations: 0 / 0.821 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001126/0.6569, allocations: 355.4 kB / 0.8214 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6569, allocations: 9.375 kB / 0.8214 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6569, allocations: 2.719 kB / 0.8214 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005715/0.6575, allocations: 89.38 kB / 0.8215 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.6577, allocations: 42.53 kB / 0.8215 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.6599, allocations: 1.724 MB / 0.8232 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.6602, allocations: 43.84 kB / 0.8232 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.6602, allocations: 5.438 kB / 0.8232 GB, free: 4.148 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 (16): * Single equations (assignments): 15 * 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.0001603/0.6604, allocations: 149.2 kB / 0.8234 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.6604, allocations: 25.98 kB / 0.8234 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.6616, allocations: 369.3 kB / 0.8238 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6616, allocations: 2.094 kB / 0.8238 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.6616, allocations: 0 / 0.8238 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6616, allocations: 2.594 kB / 0.8238 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.6632, allocations: 0.7773 MB / 0.8245 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6633, allocations: 2.406 kB / 0.8245 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.6634, allocations: 38.56 kB / 0.8246 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/0.6639, allocations: 80.67 kB / 0.8246 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6639, allocations: 2.719 kB / 0.8246 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.6659, allocations: 1.744 MB / 0.8263 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6659, allocations: 0 / 0.8263 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.667, allocations: 454.5 kB / 0.8268 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.6672, allocations: 128.5 kB / 0.8269 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.6672, allocations: 10.47 kB / 0.8269 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.6675, allocations: 20.53 kB / 0.8269 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.6675, allocations: 23.28 kB / 0.827 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.6676, allocations: 4.875 kB / 0.827 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001723/0.6677, allocations: 185.8 kB / 0.8271 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6678, allocations: 0 / 0.8271 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003983/0.6682, allocations: 84.7 kB / 0.8272 GB, free: 0.8242 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * 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.001724/0.6699, allocations: 1.05 MB / 0.8282 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.6709, allocations: 359.6 kB / 0.8286 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6709, allocations: 0 / 0.8286 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/0.6715, allocations: 259.8 kB / 0.8288 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/0.6723, allocations: 124.1 kB / 0.829 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.6771, allocations: 2.819 MB / 0.8317 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.6776, allocations: 0.7723 MB / 0.8325 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000228/0.6778, allocations: 56.25 kB / 0.8325 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.6779, allocations: 76.09 kB / 0.8326 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of SimCode: time 4.047e-06/0.6779, allocations: 0 / 0.8326 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.7116, allocations: 8.676 MB / 0.8411 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.33, allocations: 17.94 kB / 0.8411 GB, free: 8.172 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)