Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001373/0.001373, allocations: 122.8 kB / 17.84 MB, free: 5.254 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.001515/0.001515, allocations: 198.3 kB / 20.79 MB, free: 2.316 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.435/1.435, allocations: 230.6 MB / 254.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9502/0.9502, allocations: 150 MB / 460.2 MB, free: 5.238 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001955/0.001955, allocations: 65.16 kB / 0.6368 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1652, allocations: 89.15 MB / 0.7239 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5959/0.7611, allocations: 171 MB / 0.8908 GB, free: 2.871 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008803/0.77, allocations: 6.588 MB / 0.8973 GB, free: 2.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007893/0.7707, allocations: 17.47 kB / 0.8973 GB, free: 2.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007967/0.7715, allocations: 168.5 kB / 0.8974 GB, free: 2.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.7743, allocations: 0.8712 MB / 0.8983 GB, free: 2.707 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.7754, allocations: 324.2 kB / 0.8986 GB, free: 2.699 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.7765, allocations: 0.7148 MB / 0.8993 GB, free: 2.695 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005231/0.7771, allocations: 233.7 kB / 0.8995 GB, free: 2.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.779, allocations: 0.7167 MB / 0.9002 GB, free: 2.664 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.7798, allocations: 283.5 kB / 0.9005 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.937e-05/0.7799, allocations: 23.09 kB / 0.9005 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.781, allocations: 350.2 kB / 0.9008 GB, free: 2.656 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.7813, allocations: 118.3 kB / 0.901 GB, free: 2.652 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.7817, allocations: 158 kB / 0.9011 GB, free: 2.652 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.7831, allocations: 474 kB / 0.9016 GB, free: 2.629 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.7831, allocations: 0 / 0.9016 GB, free: 2.629 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7831, allocations: 1.094 kB / 0.9016 GB, free: 2.629 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.749e-05/0.7831, allocations: 4 kB / 0.9016 GB, free: 2.625 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001611/0.7847, allocations: 0.6281 MB / 0.9022 GB, free: 18.15 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.7848, allocations: 8.5 kB / 0.9022 GB, free: 18.15 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.632e-05/0.7848, allocations: 7.25 kB / 0.9022 GB, free: 18.15 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.7849, allocations: 61.47 kB / 0.9023 GB, free: 18.11 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.7853, allocations: 70.77 kB / 0.9023 GB, free: 18.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.7859, allocations: 326.5 kB / 0.9026 GB, free: 17.85 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.786, allocations: 26.91 kB / 0.9027 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.786, allocations: 23.81 kB / 0.9027 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.7866, allocations: 318.9 kB / 0.903 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.7866, allocations: 1.562 kB / 0.903 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.7867, allocations: 13.62 kB / 0.903 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.7867, allocations: 9.719 kB / 0.903 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.7871, allocations: 206.6 kB / 0.9032 GB, free: 17.74 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.7888, allocations: 1.534 MB / 0.9047 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.7891, allocations: 114 kB / 0.9048 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.7893, allocations: 85.66 kB / 0.9049 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/0.7899, allocations: 305.5 kB / 0.9052 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.7899, allocations: 35.31 kB / 0.9052 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.7899, allocations: 0 / 0.9052 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007782/0.7907, allocations: 276.4 kB / 0.9055 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.7907, allocations: 57.34 kB / 0.9055 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.7911, allocations: 309.3 kB / 0.9058 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.7911, allocations: 29.39 kB / 0.9059 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.7912, allocations: 179.2 kB / 0.906 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.7913, allocations: 54.06 kB / 0.9061 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.7913, allocations: 37.41 kB / 0.9061 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7915, allocations: 341.7 kB / 0.9064 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.7916, allocations: 59.33 kB / 0.9065 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.7918, allocations: 111.8 kB / 0.9066 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.7921, allocations: 179.8 kB / 0.9068 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7921, allocations: 1.375 kB / 0.9068 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004359/0.7926, allocations: 217.4 kB / 0.907 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7926, allocations: 6.531 kB / 0.907 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.7926, allocations: 1.531 kB / 0.907 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7926, allocations: 2.531 kB / 0.907 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.7928, allocations: 38.62 kB / 0.907 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7928, allocations: 2.656 kB / 0.907 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.793, allocations: 28.53 kB / 0.9071 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.793, allocations: 12.47 kB / 0.9071 GB, free: 15.35 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001606/0.7932, allocations: 152 kB / 0.9072 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.7932, allocations: 29.31 kB / 0.9073 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.7937, allocations: 216.3 kB / 0.9075 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7937, allocations: 2.375 kB / 0.9075 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.7937, allocations: 6.625 kB / 0.9075 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7937, allocations: 0 / 0.9075 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000923/0.7946, allocations: 0.6817 MB / 0.9081 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7946, allocations: 0 / 0.9081 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.7947, allocations: 33.89 kB / 0.9082 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.7947, allocations: 7.312 kB / 0.9082 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.7947, allocations: 2.562 kB / 0.9082 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.7947, allocations: 6.594 kB / 0.9082 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7947, allocations: 5.25 kB / 0.9082 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.7951, allocations: 335.6 kB / 0.9085 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.7953, allocations: 123.1 kB / 0.9086 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.7953, allocations: 6.344 kB / 0.9086 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.7955, allocations: 7.406 kB / 0.9086 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.7955, allocations: 18.38 kB / 0.9087 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.7955, allocations: 4.688 kB / 0.9087 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001835/0.7957, allocations: 228.4 kB / 0.9089 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7957, allocations: 4 kB / 0.9089 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000381/0.7961, allocations: 69.58 kB / 0.9089 GB, free: 14.38 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0008574/0.7969, allocations: 0.9073 MB / 0.9098 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.7973, allocations: 150.6 kB / 0.91 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7973, allocations: 3.031 kB / 0.91 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.7975, allocations: 79.08 kB / 0.9101 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/0.7982, allocations: 155 kB / 0.9102 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.8012, allocations: 2.819 MB / 0.913 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.8016, allocations: 0.7812 MB / 0.9137 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.8018, allocations: 60.88 kB / 0.9138 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.8019, allocations: 91.27 kB / 0.9139 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of SimCode: time 3.91e-07/0.8019, allocations: 0 / 0.9139 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.8259, allocations: 8.166 MB / 0.9218 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.306, allocations: 12.58 kB / 0.9218 GB, free: 10.48 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.074868189985864] Failed to read output from testmodel.py, exit status != 0: 9.434692072973121 9.453154306 8.666213002 Calling exit ...