Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.001731/0.001731, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002132/0.002132, allocations: 206.6 kB / 22.99 MB, free: 4.609 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9922/0.9922, allocations: 149.9 MB / 463 MB, free: 10.35 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.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",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.002246/0.002246, allocations: 65.64 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1879, allocations: 89.19 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5702/0.7581, allocations: 147.6 MB / 0.8723 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.7612, allocations: 1.477 MB / 0.8738 GB, free: 52 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005202/0.7617, allocations: 23.81 kB / 0.8738 GB, free: 28 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.7624, allocations: 154.9 kB / 0.8739 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.7647, allocations: 0.6923 MB / 0.8746 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.7666, allocations: 0.6208 MB / 0.8752 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.7677, allocations: 0.7051 MB / 0.8759 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.7682, allocations: 181.4 kB / 0.8761 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.7695, allocations: 0.5021 MB / 0.8766 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.7699, allocations: 219 kB / 0.8768 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.298e-05/0.77, allocations: 27.94 kB / 0.8768 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.7715, allocations: 0.7011 MB / 0.8775 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.7717, allocations: 115.7 kB / 0.8776 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.772, allocations: 143.3 kB / 0.8777 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.7734, allocations: 0.6911 MB / 0.8784 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7734, allocations: 0 / 0.8784 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7734, allocations: 0 / 0.8784 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.7734, allocations: 0 / 0.8784 GB, free: 11.28 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001192/0.7746, allocations: 0.5822 MB / 0.879 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.7747, allocations: 16.02 kB / 0.879 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.458e-05/0.7747, allocations: 58.55 kB / 0.8791 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.7759, allocations: 163.6 kB / 0.8792 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.7766, allocations: 256 kB / 0.8795 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.7766, allocations: 16.44 kB / 0.8795 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.7766, allocations: 31.94 kB / 0.8795 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.7772, allocations: 271.5 kB / 0.8798 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.7772, allocations: 0 / 0.8798 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.7772, allocations: 12 kB / 0.8798 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.7772, allocations: 4.562 kB / 0.8798 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.7776, allocations: 187.8 kB / 0.88 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.7792, allocations: 0.9928 MB / 0.8809 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.7795, allocations: 134.4 kB / 0.8811 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.7797, allocations: 89.61 kB / 0.8811 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.7802, allocations: 75.92 kB / 0.8812 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.7802, allocations: 30.56 kB / 0.8812 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.7802, allocations: 0 / 0.8812 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0008098/0.781, allocations: 282.9 kB / 0.8815 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.7811, allocations: 55.41 kB / 0.8816 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.7814, allocations: 316.5 kB / 0.8819 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.7815, allocations: 29.7 kB / 0.8819 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.7816, allocations: 184.2 kB / 0.8821 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.7817, allocations: 59.48 kB / 0.8821 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.7818, allocations: 41.7 kB / 0.8822 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.7819, allocations: 338.8 kB / 0.8825 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.7821, allocations: 67.88 kB / 0.8826 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.7824, allocations: 199.9 kB / 0.8827 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.7827, allocations: 193.9 kB / 0.8829 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7827, allocations: 0 / 0.8829 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004963/0.7832, allocations: 241.3 kB / 0.8832 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.7833, allocations: 13.03 kB / 0.8832 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.7833, allocations: 3.984 kB / 0.8832 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7833, allocations: 4 kB / 0.8832 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.7835, allocations: 39.92 kB / 0.8832 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7835, allocations: 3.938 kB / 0.8832 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.7837, allocations: 32.58 kB / 0.8833 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.7837, allocations: 15.94 kB / 0.8833 GB, free: 6.043 MB / 0.6544 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 (22): * Single equations (assignments): 22 * 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.000154/0.7839, allocations: 145.8 kB / 0.8834 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.7839, allocations: 35.8 kB / 0.8834 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.7844, allocations: 217.7 kB / 0.8836 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.7844, allocations: 4 kB / 0.8837 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7845, allocations: 0 / 0.8837 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7845, allocations: 0 / 0.8837 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7856, allocations: 0.635 MB / 0.8843 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7856, allocations: 3.938 kB / 0.8843 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.7857, allocations: 42.53 kB / 0.8843 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.7857, allocations: 4 kB / 0.8843 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.7857, allocations: 4 kB / 0.8843 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.7857, allocations: 3.938 kB / 0.8843 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.7858, allocations: 4 kB / 0.8843 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/0.7865, allocations: 443.9 kB / 0.8848 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.7866, allocations: 43.73 kB / 0.8848 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.7866, allocations: 8 kB / 0.8848 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.7868, allocations: 11.98 kB / 0.8848 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.7868, allocations: 15.92 kB / 0.8848 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.7868, allocations: 8 kB / 0.8848 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002437/0.7871, allocations: 227 kB / 0.8851 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7871, allocations: 0 / 0.8851 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003948/0.7875, allocations: 79.86 kB / 0.8851 GB, free: 4.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001195/0.7887, allocations: 1.015 MB / 0.8861 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.7891, allocations: 171.8 kB / 0.8863 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7891, allocations: 0 / 0.8863 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.7893, allocations: 87.81 kB / 0.8864 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.7902, allocations: 161.8 kB / 0.8865 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.7942, allocations: 2.902 MB / 0.8894 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.7944, allocations: 175 kB / 0.8895 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.7946, allocations: 74.91 kB / 0.8896 GB, free: 15.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.7948, allocations: 91.41 kB / 0.8897 GB, free: 15.14 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.7948, allocations: 0 / 0.8897 GB, free: 15.14 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04413/0.8389, allocations: 9.958 MB / 0.8994 GB, free: 5.496 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.85, allocations: 7.328 kB / 0.8994 GB, free: 5.492 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.828532262239605] Failed to read output from testmodel.py, exit status != 0: 11.961919233668596 11.978338129 11.201614856 Calling exit ...