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.001228/0.001228, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00132/0.00132, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.382/1.382, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00242/0.00242, allocations: 283.9 kB / 309.8 MB, free: 3.465 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.023/1.023, allocations: 180.6 MB / 0.5338 GB, free: 12.42 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",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.002865/0.002865, allocations: 111.8 kB / 0.7347 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4779, allocations: 95.34 MB / 0.8278 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2097/0.6877, allocations: 182.9 MB / 1.006 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009957/0.6976, allocations: 7.885 MB / 1.014 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.6984, allocations: 27.75 kB / 1.014 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008908/0.6992, allocations: 242.2 kB / 1.014 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.7026, allocations: 1.272 MB / 1.016 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.7046, allocations: 0.7424 MB / 1.016 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.706, allocations: 1.083 MB / 1.017 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005884/0.7066, allocations: 341.5 kB / 1.018 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.7093, allocations: 0.8591 MB / 1.019 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007556/0.71, allocations: 462.3 kB / 1.019 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.951e-05/0.7101, allocations: 36 kB / 1.019 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.7121, allocations: 1.001 MB / 1.02 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.7123, allocations: 171.5 kB / 1.02 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.7126, allocations: 242.8 kB / 1.02 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.7145, allocations: 0.9421 MB / 1.021 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7145, allocations: 4 kB / 1.021 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7145, allocations: 4 kB / 1.021 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.7145, allocations: 0 / 1.021 GB, free: 3.324 MB / 0.7481 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.001443/0.7159, allocations: 0.8094 MB / 1.022 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.716, allocations: 12.03 kB / 1.022 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.321e-05/0.716, allocations: 16.94 kB / 1.022 GB, free: 2.438 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.116e-05/0.7161, allocations: 74.53 kB / 1.022 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000936/0.717, allocations: 151.5 kB / 1.022 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.7176, allocations: 411.6 kB / 1.023 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.7177, allocations: 32.98 kB / 1.023 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.7178, allocations: 40 kB / 1.023 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.7185, allocations: 446.4 kB / 1.023 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.7185, allocations: 7.938 kB / 1.023 GB, free: 1.219 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.7185, allocations: 16 kB / 1.023 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.7185, allocations: 12 kB / 1.023 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006247/0.7192, allocations: 319.7 kB / 1.024 GB, free: 0.875 MB / 0.7481 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.002213/0.7214, allocations: 2.012 MB / 1.026 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.7218, allocations: 222 kB / 1.026 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.722, allocations: 140.8 kB / 1.026 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.7226, allocations: 311.6 kB / 1.026 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.7227, allocations: 38.5 kB / 1.026 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.7227, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001026/0.7237, allocations: 464.6 kB / 1.027 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.7237, allocations: 51.41 kB / 1.027 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.7241, allocations: 397.9 kB / 1.027 GB, free: 13 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.7242, allocations: 29.7 kB / 1.027 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.7244, allocations: 232.5 kB / 1.027 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.7244, allocations: 83.23 kB / 1.027 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.7245, allocations: 65.69 kB / 1.028 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7247, allocations: 358.7 kB / 1.028 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.7249, allocations: 107.9 kB / 1.028 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.7252, allocations: 191.8 kB / 1.028 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.7258, allocations: 298.7 kB / 1.028 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7258, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006441/0.7264, allocations: 368.9 kB / 1.029 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7264, allocations: 8 kB / 1.029 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7264, allocations: 4.203 kB / 1.029 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7264, allocations: 8 kB / 1.029 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.7267, allocations: 59.84 kB / 1.029 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7267, allocations: 8 kB / 1.029 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.727, allocations: 35.77 kB / 1.029 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.727, allocations: 16 kB / 1.029 GB, free: 11.09 MB / 0.7637 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.000182/0.7272, allocations: 173.2 kB / 1.029 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.7272, allocations: 43.72 kB / 1.029 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/0.728, allocations: 372.6 kB / 1.029 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.728, allocations: 4 kB / 1.029 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.728, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.728, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.7294, allocations: 0.9468 MB / 1.03 GB, free: 9.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7294, allocations: 4 kB / 1.03 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.7296, allocations: 55.84 kB / 1.03 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.7297, allocations: 4 kB / 1.03 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.7297, allocations: 8.219 kB / 1.03 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7297, allocations: 4 kB / 1.03 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.7297, allocations: 8 kB / 1.03 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.7306, allocations: 0.6297 MB / 1.031 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.7308, allocations: 148.8 kB / 1.031 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.7309, allocations: 11.98 kB / 1.031 GB, free: 8.555 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.7311, allocations: 8 kB / 1.031 GB, free: 8.547 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.7311, allocations: 27.97 kB / 1.031 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.7312, allocations: 8 kB / 1.031 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002864/0.7314, allocations: 279.1 kB / 1.032 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.7314, allocations: 0 / 1.032 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004476/0.7319, allocations: 115.8 kB / 1.032 GB, free: 8.129 MB / 0.7637 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.001408/0.7333, allocations: 1.221 MB / 1.033 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.7339, allocations: 286.7 kB / 1.033 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7339, allocations: 0 / 1.033 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.7342, allocations: 140.6 kB / 1.033 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.7352, allocations: 222.2 kB / 1.033 GB, free: 6.23 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.74, allocations: 3.808 MB / 1.037 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.7404, allocations: 0.8233 MB / 1.038 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002837/0.7407, allocations: 103.4 kB / 1.038 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.7409, allocations: 139.4 kB / 1.038 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/0.7409, allocations: 0 / 1.038 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.7736, allocations: 11.78 MB / 1.05 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/9.336, allocations: 11.12 kB / 1.05 GB, free: 5.695 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.134288056986406] Failed to read output from testmodel.py, exit status != 0: 9.465788062952925 9.484969571 8.766852715 Calling exit ...