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.001467/0.001467, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001791/0.001791, allocations: 227.8 kB / 23.01 MB, free: 5.004 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9044/0.9044, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",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.001962/0.001962, allocations: 69.86 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1748, allocations: 89.17 MB / 0.7284 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5314/0.7062, allocations: 171.2 MB / 0.8955 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007891/0.7141, allocations: 6.639 MB / 0.902 GB, free: 5.512 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.7146, allocations: 15.88 kB / 0.902 GB, free: 5.496 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.7152, allocations: 166.7 kB / 0.9022 GB, free: 5.332 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.7174, allocations: 0.883 MB / 0.9031 GB, free: 4.445 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.7183, allocations: 347.2 kB / 0.9034 GB, free: 4.105 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008534/0.7192, allocations: 0.729 MB / 0.9041 GB, free: 3.375 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.7196, allocations: 219.3 kB / 0.9043 GB, free: 3.156 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.721, allocations: 0.7356 MB / 0.905 GB, free: 2.418 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.7214, allocations: 275 kB / 0.9053 GB, free: 2.148 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.7215, allocations: 20 kB / 0.9053 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.7221, allocations: 359.2 kB / 0.9056 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.7223, allocations: 115.6 kB / 0.9058 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.7224, allocations: 171.1 kB / 0.9059 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.7231, allocations: 472.2 kB / 0.9064 GB, free: 1.039 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.7231, allocations: 3.984 kB / 0.9064 GB, free: 1.035 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7231, allocations: 0 / 0.9064 GB, free: 1.035 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7231, allocations: 0 / 0.9064 GB, free: 1.035 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.0008324/0.7239, allocations: 0.5438 MB / 0.9069 GB, free: 472 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.724, allocations: 12.03 kB / 0.9069 GB, free: 460 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.658e-05/0.724, allocations: 62.53 kB / 0.907 GB, free: 388 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.7243, allocations: 67.67 kB / 0.907 GB, free: 320 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.7248, allocations: 263.5 kB / 0.9073 GB, free: 32 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.7248, allocations: 20.66 kB / 0.9073 GB, free: 12 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.7249, allocations: 28.05 kB / 0.9073 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.7254, allocations: 320.8 kB / 0.9076 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.7254, allocations: 0 / 0.9076 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.7255, allocations: 8 kB / 0.9077 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7255, allocations: 11.94 kB / 0.9077 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.7259, allocations: 205.5 kB / 0.9079 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.7274, allocations: 1.492 MB / 0.9093 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.7277, allocations: 118.5 kB / 0.9094 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.7278, allocations: 82.67 kB / 0.9095 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.7283, allocations: 67.92 kB / 0.9096 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.7283, allocations: 38.81 kB / 0.9096 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.7283, allocations: 0 / 0.9096 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007361/0.7291, allocations: 273.3 kB / 0.9099 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.7291, allocations: 51.41 kB / 0.9099 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.7294, allocations: 316.5 kB / 0.9102 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.7295, allocations: 29.7 kB / 0.9102 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.7296, allocations: 188.2 kB / 0.9104 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.7296, allocations: 47.62 kB / 0.9105 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.7297, allocations: 37.7 kB / 0.9105 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7299, allocations: 338.8 kB / 0.9108 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.73, allocations: 60.58 kB / 0.9109 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.7302, allocations: 120.9 kB / 0.911 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.7305, allocations: 182.8 kB / 0.9112 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7305, allocations: 0 / 0.9112 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004052/0.731, allocations: 221.2 kB / 0.9114 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.731, allocations: 4 kB / 0.9114 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.731, allocations: 0 / 0.9114 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.731, allocations: 4 kB / 0.9114 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.7312, allocations: 36.14 kB / 0.9114 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.7312, allocations: 8.547 kB / 0.9114 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.7313, allocations: 23.78 kB / 0.9115 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.7313, allocations: 11.98 kB / 0.9115 GB, free: 11.48 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.0001516/0.7315, allocations: 159.7 kB / 0.9116 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.7315, allocations: 27.81 kB / 0.9117 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.732, allocations: 212.7 kB / 0.9119 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.732, allocations: 3.938 kB / 0.9119 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.732, allocations: 0 / 0.9119 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.732, allocations: 3.984 kB / 0.9119 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/0.733, allocations: 0.6514 MB / 0.9125 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.733, allocations: 0 / 0.9125 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.7331, allocations: 31.97 kB / 0.9125 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7331, allocations: 3.938 kB / 0.9125 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.7332, allocations: 7.938 kB / 0.9125 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.7332, allocations: 7.938 kB / 0.9126 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7332, allocations: 4.219 kB / 0.9126 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.7336, allocations: 329.3 kB / 0.9129 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.7337, allocations: 47.78 kB / 0.9129 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.7337, allocations: 8.812 kB / 0.9129 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.7339, allocations: 11.98 kB / 0.9129 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.7339, allocations: 7.984 kB / 0.9129 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.7339, allocations: 4 kB / 0.9129 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002131/0.7341, allocations: 231 kB / 0.9132 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7341, allocations: 0 / 0.9132 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003611/0.7345, allocations: 75.83 kB / 0.9132 GB, free: 9.559 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.0008775/0.7354, allocations: 0.9132 MB / 0.9141 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.7358, allocations: 152.4 kB / 0.9143 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7358, allocations: 0 / 0.9143 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.7359, allocations: 88.38 kB / 0.9144 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.7368, allocations: 141.7 kB / 0.9145 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.7402, allocations: 2.817 MB / 0.9172 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.7406, allocations: 0.7795 MB / 0.918 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.7408, allocations: 60.7 kB / 0.9181 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.741, allocations: 91.41 kB / 0.9182 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of SimCode: time 4.81e-07/0.741, allocations: 0 / 0.9182 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.776, allocations: 8.328 MB / 0.9263 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.53, allocations: 0 / 0.9263 GB, free: 12.23 MB / 0.7012 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 15.205495042999246] Failed to read output from testmodel.py, exit status != 0: 11.645501043996774 11.661505201 10.935188203 Calling exit ...