Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.004839/0.004839, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001108/0.001108, allocations: 189.6 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.342/1.342, 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.846/0.846, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.41 kB / 0.5951 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1425, allocations: 82.03 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5297/0.6722, allocations: 167.6 MB / 0.8388 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007151/0.6794, allocations: 6.559 MB / 0.8452 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.6799, allocations: 11.03 kB / 0.8452 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.6805, allocations: 172.8 kB / 0.8454 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.6826, allocations: 0.8793 MB / 0.8463 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.6836, allocations: 326.9 kB / 0.8466 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.6847, allocations: 0.7143 MB / 0.8473 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.6852, allocations: 280 kB / 0.8475 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.6864, allocations: 0.572 MB / 0.8481 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.6869, allocations: 267.3 kB / 0.8484 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.6869, allocations: 22.81 kB / 0.8484 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006556/0.6876, allocations: 351.8 kB / 0.8487 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.6877, allocations: 102.8 kB / 0.8488 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.6879, allocations: 161.4 kB / 0.849 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.6886, allocations: 493.5 kB / 0.8494 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6886, allocations: 6.688 kB / 0.8494 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6886, allocations: 0 / 0.8494 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.6886, allocations: 0 / 0.8494 GB, free: 10.36 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008264/0.6894, allocations: 0.6168 MB / 0.8501 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6895, allocations: 14.81 kB / 0.8501 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.6896, allocations: 62.06 kB / 0.8501 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.6899, allocations: 64.23 kB / 0.8502 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.6904, allocations: 334.3 kB / 0.8505 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.6904, allocations: 24.88 kB / 0.8505 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.6904, allocations: 26 kB / 0.8506 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.6909, allocations: 310.9 kB / 0.8508 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.691, allocations: 2.781 kB / 0.8509 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.691, allocations: 14.09 kB / 0.8509 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.691, allocations: 9.234 kB / 0.8509 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.6914, allocations: 206 kB / 0.8511 GB, free: 9.035 MB / 0.6231 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.001446/0.6929, allocations: 1.526 MB / 0.8526 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.6931, allocations: 129.5 kB / 0.8527 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.6933, allocations: 90.2 kB / 0.8528 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.6939, allocations: 304.1 kB / 0.8531 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.6939, allocations: 34.5 kB / 0.8531 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.6939, allocations: 2.531 kB / 0.8531 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007236/0.6946, allocations: 276.5 kB / 0.8534 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.6947, allocations: 53.72 kB / 0.8534 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.695, allocations: 313.6 kB / 0.8537 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.695, allocations: 25.7 kB / 0.8537 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.6951, allocations: 189.2 kB / 0.8539 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.6952, allocations: 48.86 kB / 0.854 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.6952, allocations: 40.72 kB / 0.854 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6954, allocations: 338.1 kB / 0.8543 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.6955, allocations: 58.55 kB / 0.8544 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.6957, allocations: 115.8 kB / 0.8545 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.696, allocations: 178.3 kB / 0.8547 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.696, allocations: 3.938 kB / 0.8547 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003928/0.6964, allocations: 216.7 kB / 0.8549 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6964, allocations: 8.156 kB / 0.8549 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6965, allocations: 4 kB / 0.8549 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6965, allocations: 4 kB / 0.8549 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.6966, allocations: 31.92 kB / 0.8549 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.6967, allocations: 4 kB / 0.8549 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.6968, allocations: 27.83 kB / 0.8549 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.6969, allocations: 8 kB / 0.855 GB, free: 5.633 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.697, allocations: 154.5 kB / 0.8551 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.6971, allocations: 39.8 kB / 0.8551 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.6975, allocations: 200.3 kB / 0.8553 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6975, allocations: 4 kB / 0.8553 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6975, allocations: 0 / 0.8553 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6975, allocations: 0 / 0.8553 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009858/0.6985, allocations: 0.6796 MB / 0.856 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.6985, allocations: 4 kB / 0.856 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.6987, allocations: 32.84 kB / 0.856 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.6987, allocations: 4.219 kB / 0.856 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.6987, allocations: 8.047 kB / 0.856 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6987, allocations: 6.125 kB / 0.856 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.6987, allocations: 11.92 kB / 0.8561 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.6992, allocations: 337.3 kB / 0.8564 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6993, allocations: 116.8 kB / 0.8565 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.6994, allocations: 8.75 kB / 0.8565 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.6995, allocations: 11.92 kB / 0.8565 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.6996, allocations: 27.86 kB / 0.8565 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.6996, allocations: 4 kB / 0.8565 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002081/0.6998, allocations: 223.1 kB / 0.8568 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6998, allocations: 3.938 kB / 0.8568 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000373/0.7002, allocations: 71.88 kB / 0.8568 GB, free: 3.566 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.7012, allocations: 0.9276 MB / 0.8577 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.7016, allocations: 155.8 kB / 0.8579 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7016, allocations: 0 / 0.8579 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.7018, allocations: 84.69 kB / 0.858 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007941/0.7026, allocations: 151.4 kB / 0.8581 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.7059, allocations: 2.81 MB / 0.8609 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.7063, allocations: 0.7795 MB / 0.8616 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.7065, allocations: 70.91 kB / 0.8617 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.7066, allocations: 91.41 kB / 0.8618 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.7066, allocations: 0 / 0.8618 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.7339, allocations: 8.142 MB / 0.8697 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.487, allocations: 0 / 0.8697 GB, free: 6.34 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)