Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_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.006764/0.006764, allocations: 98.17 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.001627/0.001627, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8488/0.8488, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 68.27 kB / 0.5951 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1494, allocations: 82.04 MB / 0.6752 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4892/0.6386, allocations: 161.5 MB / 0.8329 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004621/0.6433, allocations: 3.494 MB / 0.8363 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.6436, allocations: 11.91 kB / 0.8363 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.644, allocations: 129.8 kB / 0.8365 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.6451, allocations: 470.1 kB / 0.8369 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.6466, allocations: 0.6014 MB / 0.8375 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006188/0.6472, allocations: 0.6311 MB / 0.8381 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.6476, allocations: 218.4 kB / 0.8383 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.6487, allocations: 361.6 kB / 0.8387 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.6489, allocations: 202.6 kB / 0.8389 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.649, allocations: 20.12 kB / 0.8389 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008556/0.6498, allocations: 0.5538 MB / 0.8394 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.65, allocations: 91.47 kB / 0.8395 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.6501, allocations: 145.4 kB / 0.8396 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007865/0.6509, allocations: 0.5692 MB / 0.8402 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6509, allocations: 4 kB / 0.8402 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6509, allocations: 0 / 0.8402 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6509, allocations: 0 / 0.8402 GB, free: 2.023 MB / 0.6075 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.001016/0.6519, allocations: 0.643 MB / 0.8408 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.652, allocations: 9.719 kB / 0.8408 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.6521, allocations: 62.7 kB / 0.8409 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.6526, allocations: 80.47 kB / 0.841 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.653, allocations: 305.1 kB / 0.8413 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.653, allocations: 18.53 kB / 0.8413 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.653, allocations: 16.84 kB / 0.8413 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.6537, allocations: 313.1 kB / 0.8416 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6537, allocations: 4 kB / 0.8416 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.6537, allocations: 10.09 kB / 0.8416 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.6537, allocations: 10.72 kB / 0.8416 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.6543, allocations: 246.1 kB / 0.8419 GB, free: 0.7148 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.6558, allocations: 1.25 MB / 0.8431 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.6563, allocations: 168.2 kB / 0.8432 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.6566, allocations: 123.7 kB / 0.8434 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.6572, allocations: 301.5 kB / 0.8436 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.6572, allocations: 41.62 kB / 0.8437 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.6572, allocations: 4 kB / 0.8437 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.002169/0.6594, allocations: 0.5688 MB / 0.8442 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.6594, allocations: 55.34 kB / 0.8443 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.6597, allocations: 253.7 kB / 0.8445 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.6597, allocations: 36.7 kB / 0.8446 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.6598, allocations: 172.3 kB / 0.8447 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.6598, allocations: 51.41 kB / 0.8448 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.6599, allocations: 33.84 kB / 0.8448 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.66, allocations: 332.8 kB / 0.8451 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.6603, allocations: 93.53 kB / 0.8452 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.6606, allocations: 138.4 kB / 0.8454 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.6612, allocations: 234.4 kB / 0.8456 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6612, allocations: 0 / 0.8456 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001086/0.6623, allocations: 349.8 kB / 0.8459 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6623, allocations: 7.312 kB / 0.8459 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6624, allocations: 128 / 0.8459 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/0.6629, allocations: 94.61 kB / 0.846 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.6632, allocations: 47 kB / 0.8461 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.6653, allocations: 1.721 MB / 0.8477 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.6655, allocations: 36.7 kB / 0.8478 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.6656, allocations: 4.781 kB / 0.8478 GB, free: 11.66 MB / 0.6231 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.000139/0.6657, allocations: 147.3 kB / 0.8479 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.6658, allocations: 22.02 kB / 0.8479 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.6669, allocations: 377 kB / 0.8483 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6669, allocations: 2.75 kB / 0.8483 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-06/0.6669, allocations: 0 / 0.8483 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6669, allocations: 192 / 0.8483 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.6685, allocations: 0.7776 MB / 0.8491 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6685, allocations: 7.328 kB / 0.8491 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.6687, allocations: 30.31 kB / 0.8491 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.6692, allocations: 81.2 kB / 0.8492 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.6692, allocations: 10.59 kB / 0.8492 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.6711, allocations: 1.739 MB / 0.8509 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6711, allocations: 4.062 kB / 0.8509 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6722, allocations: 458.3 kB / 0.8513 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.6723, allocations: 121.6 kB / 0.8514 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.6724, allocations: 10.41 kB / 0.8515 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.6726, allocations: 24.03 kB / 0.8515 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.6727, allocations: 23.72 kB / 0.8515 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.6727, allocations: 4.719 kB / 0.8515 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001587/0.6729, allocations: 187.4 kB / 0.8517 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6729, allocations: 2.219 kB / 0.8517 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004223/0.6733, allocations: 85.33 kB / 0.8518 GB, free: 8.316 MB / 0.6231 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.001614/0.675, allocations: 1.048 MB / 0.8528 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009772/0.676, allocations: 359.6 kB / 0.8531 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.676, allocations: 4 kB / 0.8531 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.6765, allocations: 258.5 kB / 0.8534 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.6773, allocations: 121.2 kB / 0.8535 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.6818, allocations: 2.819 MB / 0.8562 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.6822, allocations: 0.7675 MB / 0.857 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.6824, allocations: 58.25 kB / 0.8571 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.6825, allocations: 79.34 kB / 0.8571 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.6825, allocations: 0 / 0.8571 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.7104, allocations: 8.703 MB / 0.8656 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.69, allocations: 3.984 kB / 0.8656 GB, free: 10.39 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)