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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.006306/0.006306, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001229/0.001229, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.399/1.399, 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-master/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-master/package.mo): time 0.8913/0.8913, allocations: 143.3 MB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 64.16 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1481, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4784/0.6266, allocations: 161.5 MB / 0.8332 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004994/0.6316, allocations: 3.498 MB / 0.8366 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.6319, allocations: 11.47 kB / 0.8366 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.6324, allocations: 131.2 kB / 0.8367 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.6337, allocations: 454.2 kB / 0.8372 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.6355, allocations: 0.5932 MB / 0.8377 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008053/0.6363, allocations: 0.6256 MB / 0.8383 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.6367, allocations: 222.1 kB / 0.8386 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.638, allocations: 344.8 kB / 0.8389 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.6383, allocations: 196.3 kB / 0.8391 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.6383, allocations: 23.06 kB / 0.8391 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000956/0.6393, allocations: 0.549 MB / 0.8396 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.6394, allocations: 95.73 kB / 0.8397 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.6396, allocations: 142.9 kB / 0.8399 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008709/0.6405, allocations: 0.566 MB / 0.8404 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.6405, allocations: 6.219 kB / 0.8404 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6405, allocations: 3.938 kB / 0.8404 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.6405, allocations: 0 / 0.8404 GB, free: 1.719 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.001189/0.6417, allocations: 0.6402 MB / 0.841 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6417, allocations: 10.66 kB / 0.8411 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/0.6418, allocations: 58.02 kB / 0.8411 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.6424, allocations: 73.17 kB / 0.8412 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.6429, allocations: 311.5 kB / 0.8415 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.6429, allocations: 16.66 kB / 0.8415 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.462e-05/0.643, allocations: 16.22 kB / 0.8415 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.6436, allocations: 315.3 kB / 0.8418 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6436, allocations: 4 kB / 0.8418 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.6437, allocations: 6.812 kB / 0.8418 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.6437, allocations: 8.688 kB / 0.8418 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.6443, allocations: 250.4 kB / 0.8421 GB, free: 424 kB / 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.001617/0.646, allocations: 1.25 MB / 0.8433 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.6464, allocations: 179.4 kB / 0.8435 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.6467, allocations: 128.4 kB / 0.8436 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.6473, allocations: 301.4 kB / 0.8439 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.6474, allocations: 33.44 kB / 0.8439 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.6474, allocations: 4 kB / 0.8439 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.002211/0.6496, allocations: 0.5674 MB / 0.8445 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.6496, allocations: 53.22 kB / 0.8445 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.6499, allocations: 253.9 kB / 0.8448 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.6499, allocations: 32.61 kB / 0.8448 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.6501, allocations: 161.2 kB / 0.8449 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.6501, allocations: 54.41 kB / 0.845 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.6502, allocations: 34.42 kB / 0.845 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6504, allocations: 336.2 kB / 0.8453 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.6507, allocations: 94.19 kB / 0.8454 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.651, allocations: 141.7 kB / 0.8456 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/0.6516, allocations: 240.5 kB / 0.8458 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6516, allocations: 3.938 kB / 0.8458 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001137/0.6528, allocations: 352.1 kB / 0.8461 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6528, allocations: 4.5 kB / 0.8461 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6528, allocations: 3.031 kB / 0.8461 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.6534, allocations: 90.03 kB / 0.8462 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.6536, allocations: 41.88 kB / 0.8463 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.656, allocations: 1.73 MB / 0.848 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.6563, allocations: 34.39 kB / 0.848 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.6563, allocations: 6.438 kB / 0.848 GB, free: 11.34 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.0001657/0.6565, allocations: 141.5 kB / 0.8481 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.6566, allocations: 24.23 kB / 0.8482 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.6577, allocations: 381.4 kB / 0.8485 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.6577, allocations: 1.906 kB / 0.8485 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.6577, allocations: 0 / 0.8485 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6578, allocations: 0 / 0.8485 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.6594, allocations: 0.7754 MB / 0.8493 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6595, allocations: 2.781 kB / 0.8493 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.6597, allocations: 34.56 kB / 0.8493 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.6601, allocations: 84.75 kB / 0.8494 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.6601, allocations: 10.44 kB / 0.8494 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.6623, allocations: 1.732 MB / 0.8511 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6623, allocations: 0 / 0.8511 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.6634, allocations: 456.5 kB / 0.8515 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.6636, allocations: 124.6 kB / 0.8517 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.6636, allocations: 4.141 kB / 0.8517 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.6639, allocations: 28.12 kB / 0.8517 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.664, allocations: 27.23 kB / 0.8517 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.664, allocations: 5.281 kB / 0.8517 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000175/0.6642, allocations: 185 kB / 0.8519 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6642, allocations: 0 / 0.8519 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004249/0.6646, allocations: 85.92 kB / 0.852 GB, free: 8.012 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.001793/0.6664, allocations: 1.053 MB / 0.853 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6675, allocations: 367 kB / 0.8533 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6675, allocations: 0 / 0.8533 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006126/0.6681, allocations: 254.5 kB / 0.8536 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.6688, allocations: 128 kB / 0.8537 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.6739, allocations: 2.808 MB / 0.8565 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.6744, allocations: 0.7714 MB / 0.8572 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.6746, allocations: 54.25 kB / 0.8573 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.6747, allocations: 79.41 kB / 0.8573 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6747, allocations: 0 / 0.8573 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.7107, allocations: 8.703 MB / 0.8658 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.21, allocations: 15.86 kB / 0.8659 GB, free: 10.05 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)