Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001297/0.001297, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001629/0.001629, allocations: 215.9 kB / 22.24 MB, free: 5.242 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 7.789 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.002433/0.002433, allocations: 289.1 kB / 312.7 MB, free: 2.59 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.2/1.2, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.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.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",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.002837/0.002837, allocations: 105.6 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1667, allocations: 95.38 MB / 0.8327 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1806/0.3472, allocations: 147.6 MB / 0.9768 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.3499, allocations: 1.488 MB / 0.9783 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.3501, allocations: 19.81 kB / 0.9783 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.3506, allocations: 158.9 kB / 0.9784 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.3522, allocations: 0.7001 MB / 0.9791 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.3537, allocations: 0.6178 MB / 0.9797 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.3545, allocations: 0.709 MB / 0.9804 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.3548, allocations: 189.3 kB / 0.9806 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3984/0.7533, allocations: 339.8 kB / 0.9809 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.7537, allocations: 220.1 kB / 0.9811 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.7538, allocations: 23.36 kB / 0.9811 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.7553, allocations: 0.7221 MB / 0.9819 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.7555, allocations: 107.5 kB / 0.982 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.7557, allocations: 140.2 kB / 0.9821 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.7568, allocations: 0.6994 MB / 0.9828 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7568, allocations: 0 / 0.9828 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7568, allocations: 1.688 kB / 0.9828 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.7568, allocations: 0 / 0.9828 GB, free: 4.293 MB / 0.7169 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.0009923/0.7578, allocations: 0.5833 MB / 0.9833 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.7578, allocations: 10.69 kB / 0.9834 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.7579, allocations: 59.27 kB / 0.9834 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.7589, allocations: 165.3 kB / 0.9836 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.7594, allocations: 253.2 kB / 0.9838 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.7594, allocations: 14.03 kB / 0.9838 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.7595, allocations: 21.94 kB / 0.9838 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.7599, allocations: 278.4 kB / 0.9841 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.7599, allocations: 1.156 kB / 0.9841 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.76, allocations: 8.781 kB / 0.9841 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.76, allocations: 5.406 kB / 0.9841 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.7604, allocations: 193.1 kB / 0.9843 GB, free: 19.6 MB / 0.7325 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.00123/0.7616, allocations: 0.985 MB / 0.9853 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.7618, allocations: 130.2 kB / 0.9854 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.762, allocations: 88.38 kB / 0.9855 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/0.7624, allocations: 75.45 kB / 0.9856 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.7625, allocations: 38.31 kB / 0.9856 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.7625, allocations: 0 / 0.9856 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007197/0.7632, allocations: 282.6 kB / 0.9859 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.7632, allocations: 53.62 kB / 0.9859 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.7635, allocations: 316.4 kB / 0.9862 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.7636, allocations: 31.45 kB / 0.9862 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.7637, allocations: 187 kB / 0.9864 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.7638, allocations: 50.38 kB / 0.9865 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.7638, allocations: 46.81 kB / 0.9865 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.764, allocations: 344.4 kB / 0.9868 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.7642, allocations: 66.42 kB / 0.9869 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.7644, allocations: 201.5 kB / 0.9871 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.7647, allocations: 189.2 kB / 0.9873 GB, free: 18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7647, allocations: 1.594 kB / 0.9873 GB, free: 18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004237/0.7651, allocations: 237.8 kB / 0.9875 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7651, allocations: 6.719 kB / 0.9875 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7651, allocations: 2.172 kB / 0.9875 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.7652, allocations: 4.031 kB / 0.9875 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.7654, allocations: 46.73 kB / 0.9876 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.7654, allocations: 6.922 kB / 0.9876 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.7655, allocations: 27.56 kB / 0.9876 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.7656, allocations: 12.31 kB / 0.9876 GB, free: 17.94 MB / 0.7325 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.0001373/0.7657, allocations: 155.1 kB / 0.9878 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.7657, allocations: 31.92 kB / 0.9878 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.7662, allocations: 218.6 kB / 0.988 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.7662, allocations: 0 / 0.988 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7662, allocations: 0.8438 kB / 0.988 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7662, allocations: 3.344 kB / 0.988 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.767, allocations: 0.6422 MB / 0.9886 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.767, allocations: 2.188 kB / 0.9886 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.7672, allocations: 34.64 kB / 0.9887 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.7672, allocations: 8.531 kB / 0.9887 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.7672, allocations: 6.719 kB / 0.9887 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.7672, allocations: 3.594 kB / 0.9887 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7672, allocations: 1 kB / 0.9887 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.7678, allocations: 436 kB / 0.9891 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.7679, allocations: 47.17 kB / 0.9891 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.7679, allocations: 5.672 kB / 0.9891 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.7681, allocations: 13.75 kB / 0.9892 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.7681, allocations: 18.3 kB / 0.9892 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.7681, allocations: 5.75 kB / 0.9892 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001904/0.7683, allocations: 227.7 kB / 0.9894 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.7683, allocations: 0 / 0.9894 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003539/0.7687, allocations: 79.7 kB / 0.9895 GB, free: 17.13 MB / 0.7325 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.0009673/0.7696, allocations: 1.014 MB / 0.9905 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.77, allocations: 166.3 kB / 0.9906 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.77, allocations: 2.969 kB / 0.9906 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.7702, allocations: 85.95 kB / 0.9907 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/0.771, allocations: 169.8 kB / 0.9909 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.7742, allocations: 2.92 MB / 0.9937 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.7744, allocations: 171.1 kB / 0.9939 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000219/0.7747, allocations: 65.64 kB / 0.9939 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.7748, allocations: 86.12 kB / 0.994 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7748, allocations: 2.062 kB / 0.994 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.8167, allocations: 10 MB / 1.004 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.66, allocations: 7.5 kB / 1.004 GB, free: 13.51 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.634269846603274] Failed to read output from testmodel.py, exit status != 0: 11.7642747820355 11.77507936 11.015954469 Calling exit ...