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/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.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.005296/0.005296, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001097/0.001097, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.8379/0.8379, allocations: 143.1 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 63.69 kB / 0.5951 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 82.03 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5597/0.7032, allocations: 179.5 MB / 0.8505 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008495/0.7117, allocations: 7.845 MB / 0.8581 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.7123, allocations: 20.69 kB / 0.8581 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.713, allocations: 249.7 kB / 0.8584 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.7159, allocations: 1.273 MB / 0.8596 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.7176, allocations: 0.7362 MB / 0.8603 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.7186, allocations: 1.083 MB / 0.8614 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005428/0.7192, allocations: 403.9 kB / 0.8618 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.7213, allocations: 0.8609 MB / 0.8626 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.7218, allocations: 434.4 kB / 0.863 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.7218, allocations: 36 kB / 0.8631 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.7234, allocations: 0.9549 MB / 0.864 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.7236, allocations: 151.6 kB / 0.8641 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.7238, allocations: 246.8 kB / 0.8644 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.7251, allocations: 0.9693 MB / 0.8653 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7251, allocations: 4 kB / 0.8653 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7251, allocations: 0 / 0.8653 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.7251, allocations: 0 / 0.8653 GB, free: 11.4 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.00106/0.7262, allocations: 0.8211 MB / 0.8661 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7262, allocations: 12.03 kB / 0.8661 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.957e-05/0.7263, allocations: 82.47 kB / 0.8662 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.7272, allocations: 151.5 kB / 0.8664 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.7279, allocations: 415.5 kB / 0.8668 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.7279, allocations: 29 kB / 0.8668 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.728, allocations: 40 kB / 0.8668 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007113/0.7287, allocations: 442.4 kB / 0.8673 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7287, allocations: 3.938 kB / 0.8673 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.7288, allocations: 19.94 kB / 0.8673 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.7288, allocations: 12 kB / 0.8673 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.7294, allocations: 319.8 kB / 0.8676 GB, free: 8.957 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.002036/0.7314, allocations: 2.013 MB / 0.8696 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.7318, allocations: 238.4 kB / 0.8698 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.7321, allocations: 148.8 kB / 0.8699 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005629/0.7326, allocations: 303.2 kB / 0.8702 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.7327, allocations: 42.55 kB / 0.8703 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.7327, allocations: 0 / 0.8703 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.0009758/0.7337, allocations: 457.3 kB / 0.8707 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.7337, allocations: 55.41 kB / 0.8707 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.7341, allocations: 397.9 kB / 0.8711 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.7341, allocations: 29.7 kB / 0.8712 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.7343, allocations: 236.5 kB / 0.8714 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.7343, allocations: 91.25 kB / 0.8715 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.7344, allocations: 53.66 kB / 0.8715 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7346, allocations: 358.7 kB / 0.8719 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.7348, allocations: 111.9 kB / 0.872 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.7351, allocations: 183.6 kB / 0.8721 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.7356, allocations: 310.5 kB / 0.8724 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7356, allocations: 0 / 0.8724 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00059/0.7362, allocations: 362.2 kB / 0.8728 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7362, allocations: 4 kB / 0.8728 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7362, allocations: 4 kB / 0.8728 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.7362, allocations: 4 kB / 0.8728 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.7365, allocations: 60.17 kB / 0.8728 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.7365, allocations: 13 kB / 0.8729 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.7368, allocations: 43.7 kB / 0.8729 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.7368, allocations: 12 kB / 0.8729 GB, free: 3.156 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.0001724/0.737, allocations: 166.4 kB / 0.8731 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.7371, allocations: 43.72 kB / 0.8731 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006748/0.7378, allocations: 375.4 kB / 0.8735 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7378, allocations: 0 / 0.8735 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7378, allocations: 3.938 kB / 0.8735 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7378, allocations: 3.984 kB / 0.8735 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.7392, allocations: 0.9426 MB / 0.8744 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7392, allocations: 0 / 0.8744 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.7394, allocations: 47.97 kB / 0.8744 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.7394, allocations: 7.938 kB / 0.8745 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.7395, allocations: 4 kB / 0.8745 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.7395, allocations: 7.938 kB / 0.8745 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.7395, allocations: 224 / 0.8745 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/0.7404, allocations: 0.6297 MB / 0.8751 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.7406, allocations: 156.7 kB / 0.8752 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.7406, allocations: 8 kB / 0.8752 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.7409, allocations: 11.98 kB / 0.8753 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.7409, allocations: 15.98 kB / 0.8753 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.7409, allocations: 12.06 kB / 0.8753 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002542/0.7412, allocations: 283.1 kB / 0.8755 GB, free: 320 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7412, allocations: 4 kB / 0.8756 GB, free: 316 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004251/0.7416, allocations: 103.9 kB / 0.8756 GB, free: 212 kB / 0.6387 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.001499/0.7431, allocations: 1.259 MB / 0.8769 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006095/0.7438, allocations: 287.5 kB / 0.8772 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.7438, allocations: 4.438 kB / 0.8772 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.744, allocations: 151.8 kB / 0.8773 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.7451, allocations: 218.4 kB / 0.8775 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.7498, allocations: 3.812 MB / 0.8812 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.7502, allocations: 0.8311 MB / 0.882 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002936/0.7505, allocations: 99.39 kB / 0.8821 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.7507, allocations: 139.4 kB / 0.8823 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.7507, allocations: 0 / 0.8823 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.7968, allocations: 11.72 MB / 0.8937 GB, free: 13.74 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.718, allocations: 12.72 kB / 0.8937 GB, free: 13.73 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)