Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 108.8 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.343/1.343, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 295.7 kB / 309.1 MB, free: 3.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 180.9 MB / 0.5333 GB, free: 13.81 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 112.6 kB / 0.7343 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1603, allocations: 95.34 MB / 0.8274 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6258/0.7861, allocations: 182.9 MB / 1.006 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00831/0.7944, allocations: 7.888 MB / 1.014 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008204/0.7952, allocations: 28.12 kB / 1.014 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006981/0.7959, allocations: 247.3 kB / 1.014 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.7992, allocations: 1.268 MB / 1.015 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.8011, allocations: 0.7394 MB / 1.016 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.8025, allocations: 1.08 MB / 1.017 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.803, allocations: 350.8 kB / 1.017 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.8053, allocations: 0.8685 MB / 1.018 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006009/0.8059, allocations: 455.3 kB / 1.019 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.806, allocations: 37.03 kB / 1.019 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.8077, allocations: 1.009 MB / 1.02 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.8078, allocations: 164.7 kB / 1.02 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.8081, allocations: 240.7 kB / 1.02 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.8095, allocations: 0.9416 MB / 1.021 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8095, allocations: 1.906 kB / 1.021 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8095, allocations: 2.234 kB / 1.021 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.8095, allocations: 0 / 1.021 GB, free: 2.84 MB / 0.7169 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.001308/0.8108, allocations: 0.8178 MB / 1.022 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.8109, allocations: 8.281 kB / 1.022 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.811, allocations: 81.94 kB / 1.022 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009148/0.8119, allocations: 153.9 kB / 1.022 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.8125, allocations: 407.8 kB / 1.022 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.8125, allocations: 31.97 kB / 1.022 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.8125, allocations: 35.44 kB / 1.022 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.8132, allocations: 448.7 kB / 1.023 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.8132, allocations: 0 / 1.023 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.8132, allocations: 22.06 kB / 1.023 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.8132, allocations: 14.41 kB / 1.023 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.8138, allocations: 317.8 kB / 1.023 GB, free: 17.84 MB / 0.7325 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.001965/0.8158, allocations: 2.023 MB / 1.025 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.8161, allocations: 224.6 kB / 1.025 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.8164, allocations: 135.4 kB / 1.025 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/0.817, allocations: 308.8 kB / 1.026 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.817, allocations: 41.34 kB / 1.026 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.472e-06/0.817, allocations: 0.7812 kB / 1.026 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0009362/0.8179, allocations: 452.5 kB / 1.026 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.818, allocations: 54.84 kB / 1.026 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.8183, allocations: 404.4 kB / 1.027 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.8184, allocations: 27.52 kB / 1.027 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.8185, allocations: 238.8 kB / 1.027 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.8185, allocations: 86.23 kB / 1.027 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.8186, allocations: 58.91 kB / 1.027 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.8188, allocations: 350.8 kB / 1.027 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.819, allocations: 112.4 kB / 1.028 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.8192, allocations: 191.2 kB / 1.028 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.8197, allocations: 311.3 kB / 1.028 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8197, allocations: 0.8438 kB / 1.028 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005669/0.8202, allocations: 371.5 kB / 1.028 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.8202, allocations: 6.094 kB / 1.028 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8203, allocations: 2.656 kB / 1.028 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8203, allocations: 4.406 kB / 1.028 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.8205, allocations: 58.58 kB / 1.028 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.8205, allocations: 4.781 kB / 1.028 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.8208, allocations: 36.28 kB / 1.028 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.8208, allocations: 9.781 kB / 1.028 GB, free: 15.14 MB / 0.7325 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.0001664/0.821, allocations: 166.6 kB / 1.029 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.821, allocations: 46.88 kB / 1.029 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.8217, allocations: 371.8 kB / 1.029 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8217, allocations: 3.906 kB / 1.029 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.8217, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8217, allocations: 3.875 kB / 1.029 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.8229, allocations: 0.9469 MB / 1.03 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8229, allocations: 1.938 kB / 1.03 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.8231, allocations: 49.75 kB / 1.03 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.8231, allocations: 4.25 kB / 1.03 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.8231, allocations: 10.75 kB / 1.03 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.8231, allocations: 6.156 kB / 1.03 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8231, allocations: 3.359 kB / 1.03 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.824, allocations: 0.6316 MB / 1.031 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.8241, allocations: 141.6 kB / 1.031 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.8242, allocations: 19.81 kB / 1.031 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.8244, allocations: 14.56 kB / 1.031 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.8244, allocations: 23.34 kB / 1.031 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.8244, allocations: 5.812 kB / 1.031 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002408/0.8247, allocations: 286.7 kB / 1.031 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8247, allocations: 1 kB / 1.031 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004456/0.8251, allocations: 114.2 kB / 1.031 GB, free: 14.14 MB / 0.7325 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.001313/0.8264, allocations: 1.228 MB / 1.032 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.8269, allocations: 276.6 kB / 1.033 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8269, allocations: 0 / 1.033 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.8272, allocations: 148 kB / 1.033 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009991/0.8282, allocations: 218.6 kB / 1.033 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.8324, allocations: 3.797 MB / 1.037 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.833, allocations: 0.8311 MB / 1.038 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003073/0.8333, allocations: 108.3 kB / 1.038 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.8335, allocations: 133.6 kB / 1.038 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of SimCode: time 6.52e-07/0.8335, allocations: 3.312 kB / 1.038 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.872, allocations: 11.75 MB / 1.049 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/9.173, allocations: 0 / 1.049 GB, free: 8.727 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.042089436203241] Failed to read output from testmodel.py, exit status != 0: 9.24591291230172 9.261313748 8.449319586 Calling exit ...