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.001683/0.001683, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.002016/0.002016, allocations: 205 kB / 20.09 MB, free: 2.977 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.418/1.418, 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/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.9333/0.9333, allocations: 150 MB / 459.5 MB, free: 5.324 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="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.001906/0.001906, allocations: 73.05 kB / 0.6361 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1527, allocations: 89.13 MB / 0.7232 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5804/0.7332, allocations: 171 MB / 0.8902 GB, free: 2.871 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.7442, allocations: 6.583 MB / 0.8966 GB, free: 2.758 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000694/0.7449, allocations: 21.41 kB / 0.8966 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007453/0.7456, allocations: 174.9 kB / 0.8968 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003415/0.749, allocations: 0.8649 MB / 0.8976 GB, free: 2.715 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.7504, allocations: 335.2 kB / 0.8979 GB, free: 2.703 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.7515, allocations: 0.7077 MB / 0.8986 GB, free: 2.699 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005389/0.7521, allocations: 235.2 kB / 0.8988 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.7542, allocations: 0.7197 MB / 0.8996 GB, free: 2.668 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.7547, allocations: 276.4 kB / 0.8998 GB, free: 2.668 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.7548, allocations: 22.56 kB / 0.8998 GB, free: 2.668 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008652/0.7556, allocations: 356.4 kB / 0.9002 GB, free: 2.664 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.7558, allocations: 109.6 kB / 0.9003 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.756, allocations: 163.3 kB / 0.9004 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000753/0.7567, allocations: 475.2 kB / 0.9009 GB, free: 2.637 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7567, allocations: 4 kB / 0.9009 GB, free: 2.633 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7567, allocations: 1.203 kB / 0.9009 GB, free: 2.633 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.7567, allocations: 0 / 0.9009 GB, free: 2.633 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.001234/0.758, allocations: 0.6294 MB / 0.9015 GB, free: 18.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.758, allocations: 8.562 kB / 0.9015 GB, free: 18.16 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.763e-05/0.7581, allocations: 59.33 kB / 0.9016 GB, free: 18.12 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/0.7585, allocations: 70.03 kB / 0.9016 GB, free: 18.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.7591, allocations: 325.3 kB / 0.902 GB, free: 17.86 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.7592, allocations: 18.5 kB / 0.902 GB, free: 17.86 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.7592, allocations: 26.75 kB / 0.902 GB, free: 17.86 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.7598, allocations: 321.4 kB / 0.9023 GB, free: 17.76 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7598, allocations: 0 / 0.9023 GB, free: 17.76 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.7599, allocations: 10.69 kB / 0.9023 GB, free: 17.76 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.7599, allocations: 10.66 kB / 0.9023 GB, free: 17.76 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.7605, allocations: 210.8 kB / 0.9025 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.7625, allocations: 1.532 MB / 0.904 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.7628, allocations: 112.9 kB / 0.9041 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.7631, allocations: 88.97 kB / 0.9042 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/0.7638, allocations: 300.3 kB / 0.9045 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.7639, allocations: 34.62 kB / 0.9045 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.7639, allocations: 4 kB / 0.9045 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007463/0.7646, allocations: 277.8 kB / 0.9048 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.7647, allocations: 53.53 kB / 0.9049 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.7649, allocations: 308 kB / 0.9051 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.765, allocations: 25.7 kB / 0.9052 GB, free: 16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.7651, allocations: 190.2 kB / 0.9054 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.7651, allocations: 47.44 kB / 0.9054 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.7652, allocations: 36.94 kB / 0.9054 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7653, allocations: 340.1 kB / 0.9058 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.7655, allocations: 61.42 kB / 0.9058 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.7656, allocations: 118.3 kB / 0.9059 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.7659, allocations: 169.9 kB / 0.9061 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7659, allocations: 5.375 kB / 0.9061 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003798/0.7663, allocations: 219.3 kB / 0.9063 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7663, allocations: 8.5 kB / 0.9063 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.7663, allocations: 1.375 kB / 0.9063 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7663, allocations: 2.75 kB / 0.9063 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.7665, allocations: 30.7 kB / 0.9063 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.7665, allocations: 12.34 kB / 0.9064 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.7667, allocations: 28.7 kB / 0.9064 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.7667, allocations: 10.09 kB / 0.9064 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.0001439/0.7668, allocations: 147.7 kB / 0.9065 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.7669, allocations: 28.88 kB / 0.9066 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.7674, allocations: 215.1 kB / 0.9068 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7674, allocations: 4 kB / 0.9068 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7674, allocations: 2.094 kB / 0.9068 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7674, allocations: 0 / 0.9068 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.7683, allocations: 0.6822 MB / 0.9074 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7683, allocations: 0 / 0.9074 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.7685, allocations: 34.41 kB / 0.9075 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7685, allocations: 6.375 kB / 0.9075 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.7685, allocations: 8.75 kB / 0.9075 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.7685, allocations: 2.594 kB / 0.9075 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7685, allocations: 5.094 kB / 0.9075 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.7689, allocations: 339.1 kB / 0.9078 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.769, allocations: 122.7 kB / 0.9079 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.7691, allocations: 8.781 kB / 0.9079 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.7692, allocations: 9.312 kB / 0.908 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.7693, allocations: 21.03 kB / 0.908 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.7693, allocations: 3.594 kB / 0.908 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003039/0.7696, allocations: 221.3 kB / 0.9082 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7696, allocations: 5.203 kB / 0.9082 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003849/0.77, allocations: 76.83 kB / 0.9083 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.0009176/0.7709, allocations: 0.9055 MB / 0.9091 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.7713, allocations: 153.2 kB / 0.9093 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7713, allocations: 0 / 0.9093 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.7715, allocations: 77.28 kB / 0.9094 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.7722, allocations: 154.9 kB / 0.9095 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.7758, allocations: 2.814 MB / 0.9123 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.7764, allocations: 0.7784 MB / 0.913 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.7766, allocations: 70.64 kB / 0.9131 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.7767, allocations: 90.86 kB / 0.9132 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.7767, allocations: 0 / 0.9132 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.8135, allocations: 8.124 MB / 0.9211 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/9.281, allocations: 10.62 kB / 0.9211 GB, free: 10.53 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 & 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: 13.037052446044981] Failed to read output from testmodel.py, exit status != 0: 9.350895469076931 9.361724953 8.602362741 Calling exit ...