Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.004789/0.00479, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.00123/0.00123, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8787/0.8787, allocations: 143.3 MB / 433.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 64.72 kB / 0.5953 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1499, allocations: 82.04 MB / 0.6754 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4989/0.6489, allocations: 179.5 MB / 0.8507 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009396/0.6583, allocations: 7.855 MB / 0.8584 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.6589, allocations: 20.28 kB / 0.8584 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.6596, allocations: 239.4 kB / 0.8586 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.6627, allocations: 1.223 MB / 0.8598 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.6645, allocations: 0.7352 MB / 0.8605 GB, free: 184 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.6658, allocations: 1.079 MB / 0.8616 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.6664, allocations: 405.9 kB / 0.862 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.6688, allocations: 0.8273 MB / 0.8628 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/0.6695, allocations: 438.4 kB / 0.8632 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.6696, allocations: 36 kB / 0.8632 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.6714, allocations: 0.9471 MB / 0.8642 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.6716, allocations: 159.5 kB / 0.8643 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.6719, allocations: 250.8 kB / 0.8645 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.6734, allocations: 0.9616 MB / 0.8655 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6735, allocations: 0 / 0.8655 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6735, allocations: 4 kB / 0.8655 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.6735, allocations: 0 / 0.8655 GB, free: 11.09 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001315/0.6748, allocations: 0.825 MB / 0.8663 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6749, allocations: 12.03 kB / 0.8663 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.906e-05/0.675, allocations: 78.47 kB / 0.8664 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009032/0.6759, allocations: 151.5 kB / 0.8665 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.6765, allocations: 411.6 kB / 0.8669 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.6765, allocations: 29 kB / 0.8669 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.6766, allocations: 36 kB / 0.867 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.6774, allocations: 450.4 kB / 0.8674 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6774, allocations: 0 / 0.8674 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.6774, allocations: 19.94 kB / 0.8674 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.6775, allocations: 8 kB / 0.8674 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.6781, allocations: 323.8 kB / 0.8677 GB, free: 8.648 MB / 0.6387 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.002311/0.6804, allocations: 2.008 MB / 0.8697 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.6809, allocations: 242.4 kB / 0.8699 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.6811, allocations: 152.8 kB / 0.8701 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.6818, allocations: 299.2 kB / 0.8704 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.6818, allocations: 42.55 kB / 0.8704 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.933e-06/0.6818, allocations: 3.938 kB / 0.8704 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.001085/0.6829, allocations: 449.5 kB / 0.8708 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.683, allocations: 55.41 kB / 0.8709 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.6834, allocations: 409.8 kB / 0.8713 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.6835, allocations: 29.7 kB / 0.8713 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.6837, allocations: 232.5 kB / 0.8715 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.6837, allocations: 87.25 kB / 0.8716 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.6839, allocations: 57.66 kB / 0.8717 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.684, allocations: 354.7 kB / 0.872 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.6843, allocations: 112.8 kB / 0.8721 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.6846, allocations: 182.8 kB / 0.8723 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.6851, allocations: 304.5 kB / 0.8726 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.6852, allocations: 4 kB / 0.8726 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000681/0.6858, allocations: 367.5 kB / 0.8729 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6859, allocations: 4 kB / 0.8729 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6859, allocations: 4 kB / 0.8729 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6859, allocations: 7.938 kB / 0.873 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.6862, allocations: 52.72 kB / 0.873 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6862, allocations: 3.938 kB / 0.873 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.6865, allocations: 51.94 kB / 0.8731 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.6865, allocations: 8 kB / 0.8731 GB, free: 2.852 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001895/0.6867, allocations: 166.4 kB / 0.8732 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.6868, allocations: 43.72 kB / 0.8733 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.6875, allocations: 373.8 kB / 0.8736 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6875, allocations: 4 kB / 0.8736 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6875, allocations: 3.938 kB / 0.8736 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6876, allocations: 7.984 kB / 0.8736 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.689, allocations: 0.9428 MB / 0.8746 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.689, allocations: 0 / 0.8746 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.6893, allocations: 39.98 kB / 0.8746 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.6893, allocations: 11.92 kB / 0.8746 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.6894, allocations: 8 kB / 0.8746 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6894, allocations: 7.938 kB / 0.8746 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6894, allocations: 0 / 0.8746 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.6903, allocations: 0.6309 MB / 0.8752 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.6905, allocations: 156.7 kB / 0.8754 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.6906, allocations: 8 kB / 0.8754 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.6908, allocations: 11.98 kB / 0.8754 GB, free: 312 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.6909, allocations: 15.98 kB / 0.8754 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.6909, allocations: 12 kB / 0.8754 GB, free: 284 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002991/0.6912, allocations: 283.1 kB / 0.8757 GB, free: 0 / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6912, allocations: 4.109 kB / 0.8757 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004474/0.6917, allocations: 107.9 kB / 0.8758 GB, free: 15.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001629/0.6933, allocations: 1.252 MB / 0.877 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006227/0.6939, allocations: 293.7 kB / 0.8773 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.694, allocations: 0 / 0.8773 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.6943, allocations: 148.5 kB / 0.8775 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6953, allocations: 222.4 kB / 0.8777 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.7004, allocations: 3.808 MB / 0.8814 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.7009, allocations: 0.8272 MB / 0.8822 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003088/0.7012, allocations: 99.41 kB / 0.8823 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.7014, allocations: 135.4 kB / 0.8824 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.7014, allocations: 0 / 0.8824 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.7395, allocations: 11.73 MB / 0.8939 GB, free: 13.45 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.43, allocations: 16.72 kB / 0.8939 GB, free: 13.43 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)