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.001767/0.001767, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002145/0.002145, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.781 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.002554/0.002554, allocations: 281.5 kB / 312.7 MB, free: 2.598 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.35/1.35, allocations: 180.6 MB / 0.5369 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 178] 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") [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.003027/0.003027, allocations: 101.8 kB / 0.74 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2196, allocations: 95.39 MB / 0.8332 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2098/0.4294, allocations: 147.6 MB / 0.9773 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.4326, allocations: 1.477 MB / 0.9787 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.4331, allocations: 19.81 kB / 0.9788 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.4337, allocations: 154.9 kB / 0.9789 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.4359, allocations: 0.7001 MB / 0.9796 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.4378, allocations: 0.6183 MB / 0.9802 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4976/0.9353, allocations: 0.7118 MB / 0.9809 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.9359, allocations: 181.7 kB / 0.9811 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.937, allocations: 345.4 kB / 0.9814 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.9374, allocations: 225.8 kB / 0.9816 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.9374, allocations: 22.41 kB / 0.9816 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.9392, allocations: 0.72 MB / 0.9823 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.9393, allocations: 112.8 kB / 0.9824 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.9395, allocations: 138.1 kB / 0.9826 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.9408, allocations: 0.6941 MB / 0.9833 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9408, allocations: 0.6875 kB / 0.9833 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.534e-06/0.9408, allocations: 3.281 kB / 0.9833 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.9408, allocations: 1.031 kB / 0.9833 GB, free: 4.469 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.001185/0.942, allocations: 0.5816 MB / 0.9838 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9421, allocations: 11.34 kB / 0.9838 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.9432, allocations: 160.8 kB / 0.984 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.9438, allocations: 256.6 kB / 0.9842 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.9438, allocations: 20.03 kB / 0.9843 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.9439, allocations: 27.59 kB / 0.9843 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.9444, allocations: 277.4 kB / 0.9845 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9444, allocations: 0 / 0.9845 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.9444, allocations: 9.344 kB / 0.9846 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.9445, allocations: 4.844 kB / 0.9846 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.9449, allocations: 189.6 kB / 0.9847 GB, free: 19.82 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.001318/0.9462, allocations: 0.9289 MB / 0.9856 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.9464, allocations: 126.5 kB / 0.9858 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.9466, allocations: 83.09 kB / 0.9858 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/0.9471, allocations: 77 kB / 0.9859 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.9471, allocations: 35.06 kB / 0.986 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.9471, allocations: 3.094 kB / 0.986 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009228/0.948, allocations: 282.1 kB / 0.9862 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.9481, allocations: 56.91 kB / 0.9863 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.9484, allocations: 243.9 kB / 0.9865 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.9484, allocations: 34.19 kB / 0.9865 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.9485, allocations: 182.7 kB / 0.9867 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.9486, allocations: 58.03 kB / 0.9868 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.9487, allocations: 45.12 kB / 0.9868 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.9488, allocations: 335 kB / 0.9871 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.949, allocations: 69.67 kB / 0.9872 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.9493, allocations: 198.4 kB / 0.9874 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.9497, allocations: 187.7 kB / 0.9876 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9497, allocations: 0 / 0.9876 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004624/0.9501, allocations: 241.5 kB / 0.9878 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9501, allocations: 8.562 kB / 0.9878 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9502, allocations: 1.453 kB / 0.9878 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9502, allocations: 2.594 kB / 0.9878 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.9504, allocations: 42.11 kB / 0.9879 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9504, allocations: 3.641 kB / 0.9879 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.9506, allocations: 23.75 kB / 0.9879 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.9506, allocations: 11.55 kB / 0.9879 GB, free: 18.2 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.0001753/0.9508, allocations: 152.1 kB / 0.988 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.9508, allocations: 32.7 kB / 0.9881 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.9513, allocations: 218.7 kB / 0.9883 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.9513, allocations: 0.8438 kB / 0.9883 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9513, allocations: 3.531 kB / 0.9883 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9513, allocations: 0.7031 kB / 0.9883 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.9523, allocations: 0.6035 MB / 0.9889 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9523, allocations: 3.688 kB / 0.9889 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.9525, allocations: 35.09 kB / 0.9889 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.9525, allocations: 5.078 kB / 0.9889 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.9525, allocations: 3.828 kB / 0.9889 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.9525, allocations: 7.516 kB / 0.9889 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9525, allocations: 3.781 kB / 0.9889 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.9531, allocations: 433.2 kB / 0.9893 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.9532, allocations: 35.44 kB / 0.9894 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.9533, allocations: 7.062 kB / 0.9894 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.9534, allocations: 13.08 kB / 0.9894 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.9535, allocations: 19.12 kB / 0.9894 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.9535, allocations: 8.641 kB / 0.9894 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001599/0.9537, allocations: 177.7 kB / 0.9896 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9537, allocations: 0 / 0.9896 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004314/0.9541, allocations: 85.91 kB / 0.9897 GB, free: 17.42 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.0002991/0.9544, allocations: 154.1 kB / 0.9898 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.9548, allocations: 170.1 kB / 0.99 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9548, allocations: 0 / 0.99 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.955, allocations: 81.95 kB / 0.9901 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.9557, allocations: 121.2 kB / 0.9902 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009791/0.9567, allocations: 0.5959 MB / 0.9908 GB, free: 17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.9569, allocations: 170.3 kB / 0.9909 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.9571, allocations: 55.73 kB / 0.991 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.9571, allocations: 19.17 kB / 0.991 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.9571, allocations: 3.531 kB / 0.991 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.01254/0.9697, allocations: 5.221 MB / 0.9961 GB, free: 16.62 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.371451852843165] Failed to read output from testmodel.py, exit status != 0: 0.9792788606137037 0.992771375 0.049461112 Calling exit ...