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.001307/0.001307, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.9869/0.9869, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1624, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4101/0.5725, allocations: 161.5 MB / 0.7521 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.5774, allocations: 3.497 MB / 0.7555 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.5777, allocations: 11.94 kB / 0.7555 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.5781, allocations: 135 kB / 0.7557 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.5791, allocations: 449.9 kB / 0.7561 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.5806, allocations: 0.5913 MB / 0.7567 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000645/0.5813, allocations: 0.6284 MB / 0.7573 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.5816, allocations: 232.6 kB / 0.7575 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.5828, allocations: 334.7 kB / 0.7578 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.583, allocations: 195.2 kB / 0.758 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.5831, allocations: 20 kB / 0.758 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008944/0.584, allocations: 0.5457 MB / 0.7586 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.5841, allocations: 103.7 kB / 0.7587 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.5843, allocations: 147.2 kB / 0.7588 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007703/0.585, allocations: 0.5532 MB / 0.7593 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.585, allocations: 3.938 kB / 0.7593 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5851, allocations: 0 / 0.7593 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5851, allocations: 0 / 0.7593 GB, free: 4.363 MB / 0.5762 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.001042/0.5861, allocations: 0.6311 MB / 0.76 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5862, allocations: 8.031 kB / 0.76 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.729e-05/0.5862, allocations: 54.55 kB / 0.76 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/0.5867, allocations: 76.02 kB / 0.7601 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.5871, allocations: 289.4 kB / 0.7604 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5871, allocations: 12.44 kB / 0.7604 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.5871, allocations: 27.98 kB / 0.7604 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.5878, allocations: 308.2 kB / 0.7607 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5878, allocations: 2.438 kB / 0.7607 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.5878, allocations: 8 kB / 0.7607 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5878, allocations: 11.88 kB / 0.7607 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.5885, allocations: 256.9 kB / 0.761 GB, free: 2.594 MB / 0.5762 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.001496/0.59, allocations: 1.249 MB / 0.7622 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.5904, allocations: 178.5 kB / 0.7624 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.5908, allocations: 120.8 kB / 0.7625 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.5914, allocations: 307.2 kB / 0.7628 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.5914, allocations: 30.56 kB / 0.7628 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.5914, allocations: 0 / 0.7628 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002259/0.5937, allocations: 0.577 MB / 0.7634 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.5938, allocations: 59.41 kB / 0.7634 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.594, allocations: 246.7 kB / 0.7637 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.594, allocations: 37.69 kB / 0.7637 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.5941, allocations: 156.2 kB / 0.7638 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.5942, allocations: 51.3 kB / 0.7639 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.5943, allocations: 37.61 kB / 0.7639 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5944, allocations: 334.8 kB / 0.7642 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.5947, allocations: 95.92 kB / 0.7643 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.595, allocations: 141.7 kB / 0.7645 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.5956, allocations: 237.9 kB / 0.7647 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.5956, allocations: 0 / 0.7647 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00117/0.5968, allocations: 357.8 kB / 0.765 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5968, allocations: 8 kB / 0.765 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5968, allocations: 0 / 0.765 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.5974, allocations: 84.89 kB / 0.7651 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.5977, allocations: 43.95 kB / 0.7652 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.5999, allocations: 1.729 MB / 0.7669 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.6001, allocations: 36.38 kB / 0.7669 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.6002, allocations: 8 kB / 0.7669 GB, free: 12.09 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.0001427/0.6003, allocations: 149.7 kB / 0.767 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.6004, allocations: 23.72 kB / 0.7671 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.6015, allocations: 367.1 kB / 0.7674 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.6015, allocations: 0 / 0.7674 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.6015, allocations: 0 / 0.7674 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6016, allocations: 4 kB / 0.7674 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.6033, allocations: 0.7718 MB / 0.7682 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6033, allocations: 4.031 kB / 0.7682 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.6035, allocations: 35.97 kB / 0.7682 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/0.604, allocations: 80.77 kB / 0.7683 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.604, allocations: 11.94 kB / 0.7683 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.6059, allocations: 1.733 MB / 0.77 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6059, allocations: 3.938 kB / 0.77 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.607, allocations: 460.3 kB / 0.7704 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.6072, allocations: 128.7 kB / 0.7706 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.6072, allocations: 0.875 kB / 0.7706 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.6075, allocations: 27.91 kB / 0.7706 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.6076, allocations: 15.98 kB / 0.7706 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.6076, allocations: 4 kB / 0.7706 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000184/0.6078, allocations: 186 kB / 0.7708 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6078, allocations: 0 / 0.7708 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000395/0.6082, allocations: 87.89 kB / 0.7709 GB, free: 7.754 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.001609/0.6098, allocations: 1.035 MB / 0.7719 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009741/0.6108, allocations: 378.2 kB / 0.7722 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6108, allocations: 4 kB / 0.7722 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.6114, allocations: 251.3 kB / 0.7725 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.6121, allocations: 132.6 kB / 0.7726 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.6166, allocations: 2.804 MB / 0.7753 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.617, allocations: 0.7712 MB / 0.7761 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001993/0.6172, allocations: 54.2 kB / 0.7761 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.6173, allocations: 79.41 kB / 0.7762 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6173, allocations: 0 / 0.7762 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.6472, allocations: 8.615 MB / 0.7846 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.61, allocations: 14.12 kB / 0.7847 GB, free: 9.68 MB / 0.6075 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)