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.001151/0.001151, 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.001132/0.001132, allocations: 197.7 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9955/0.9955, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1563, allocations: 82.04 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4792/0.6356, allocations: 179.5 MB / 0.7697 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008622/0.6442, allocations: 7.843 MB / 0.7773 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.6447, allocations: 19.88 kB / 0.7773 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.6454, allocations: 246.2 kB / 0.7776 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.6481, allocations: 1.217 MB / 0.7788 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.6498, allocations: 0.733 MB / 0.7795 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.6509, allocations: 1.08 MB / 0.7805 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.6514, allocations: 405.4 kB / 0.7809 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.6534, allocations: 0.8185 MB / 0.7817 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.654, allocations: 434.4 kB / 0.7821 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.6541, allocations: 40 kB / 0.7822 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.6557, allocations: 0.9471 MB / 0.7831 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.6559, allocations: 159.6 kB / 0.7832 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.6561, allocations: 242.8 kB / 0.7835 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.6575, allocations: 0.9544 MB / 0.7844 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.6575, allocations: 0 / 0.7844 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6575, allocations: 0 / 0.7844 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.6575, allocations: 0 / 0.7844 GB, free: 10.61 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001121/0.6587, allocations: 0.7988 MB / 0.7852 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6587, allocations: 19.97 kB / 0.7852 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.834e-05/0.6588, allocations: 74.52 kB / 0.7853 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009388/0.6597, allocations: 155.1 kB / 0.7854 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.6603, allocations: 383.4 kB / 0.7858 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.6603, allocations: 29.56 kB / 0.7858 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.6604, allocations: 40 kB / 0.7859 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.6611, allocations: 438.4 kB / 0.7863 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.6611, allocations: 4 kB / 0.7863 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.6612, allocations: 19.94 kB / 0.7863 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.6612, allocations: 15.98 kB / 0.7863 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006033/0.6618, allocations: 323.7 kB / 0.7866 GB, free: 8.223 MB / 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.002061/0.6639, allocations: 2.026 MB / 0.7886 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.6643, allocations: 234.5 kB / 0.7888 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.6645, allocations: 149.8 kB / 0.789 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/0.6651, allocations: 303.2 kB / 0.7893 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.6652, allocations: 34.56 kB / 0.7893 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/0.6652, allocations: 4 kB / 0.7893 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001007/0.6662, allocations: 457.9 kB / 0.7897 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.6662, allocations: 51.41 kB / 0.7898 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.6666, allocations: 401.9 kB / 0.7902 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.6667, allocations: 29.7 kB / 0.7902 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.6668, allocations: 240.2 kB / 0.7904 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.6669, allocations: 82.75 kB / 0.7905 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.667, allocations: 57.69 kB / 0.7906 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6672, allocations: 354.7 kB / 0.7909 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.6674, allocations: 107.9 kB / 0.791 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.6677, allocations: 187.3 kB / 0.7912 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.6682, allocations: 309.5 kB / 0.7915 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6683, allocations: 0 / 0.7915 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006571/0.6689, allocations: 365 kB / 0.7918 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6689, allocations: 5.25 kB / 0.7918 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.669, allocations: 0 / 0.7918 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.669, allocations: 4 kB / 0.7918 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.6693, allocations: 59.91 kB / 0.7919 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6693, allocations: 7.984 kB / 0.7919 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.6695, allocations: 40.34 kB / 0.7919 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.6696, allocations: 15.98 kB / 0.7919 GB, free: 2.426 MB / 0.6075 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.0001711/0.6697, allocations: 169.8 kB / 0.7921 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.6698, allocations: 39.53 kB / 0.7921 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.6705, allocations: 369.4 kB / 0.7925 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.6705, allocations: 4 kB / 0.7925 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6705, allocations: 0 / 0.7925 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6706, allocations: 0 / 0.7925 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.672, allocations: 0.937 MB / 0.7934 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.672, allocations: 8.203 kB / 0.7934 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.6722, allocations: 51.91 kB / 0.7935 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.6723, allocations: 7.938 kB / 0.7935 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.6723, allocations: 8 kB / 0.7935 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6723, allocations: 3.984 kB / 0.7935 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6723, allocations: 6.266 kB / 0.7935 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.6734, allocations: 0.6295 MB / 0.7941 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.6736, allocations: 152.5 kB / 0.7943 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.6737, allocations: 12.06 kB / 0.7943 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.6739, allocations: 8 kB / 0.7943 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.674, allocations: 27.91 kB / 0.7943 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.674, allocations: 7.438 kB / 0.7943 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003063/0.6743, allocations: 283.1 kB / 0.7946 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6743, allocations: 0 / 0.7946 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004566/0.6748, allocations: 111.8 kB / 0.7947 GB, free: 15.48 MB / 0.6231 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.001523/0.6763, allocations: 1.249 MB / 0.7959 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005984/0.6769, allocations: 301.1 kB / 0.7962 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6769, allocations: 0 / 0.7962 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.6772, allocations: 151.8 kB / 0.7963 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6783, allocations: 215.9 kB / 0.7965 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/0.6833, allocations: 3.841 MB / 0.8003 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.6837, allocations: 0.8311 MB / 0.8011 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003622/0.6841, allocations: 99.41 kB / 0.8012 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.6843, allocations: 135.4 kB / 0.8013 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.6843, allocations: 0 / 0.8013 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.7165, allocations: 11.62 MB / 0.8127 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.388, allocations: 3.906 kB / 0.8127 GB, free: 13.11 MB / 0.6387 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)