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.001379/0.001379, allocations: 78.34 kB / 19 MB, free: 2.867 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.001653/0.001653, allocations: 158.7 kB / 22.25 MB, free: 5.133 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.468/1.468, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.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.002531/0.002531, allocations: 233.7 kB / 259.2 MB, free: 0.582 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.105/1.105, allocations: 138.5 MB / 454.2 MB, free: 2.02 MB / 366.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: 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.002996/0.002996, allocations: 103.8 kB / 0.6466 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.519, allocations: 95.35 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2103/0.7294, allocations: 147.6 MB / 0.8838 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.7323, allocations: 1.477 MB / 0.8853 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.7326, allocations: 19.81 kB / 0.8853 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.7331, allocations: 150.9 kB / 0.8854 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.7349, allocations: 0.704 MB / 0.8861 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.7365, allocations: 0.6265 MB / 0.8867 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.7374, allocations: 0.7168 MB / 0.8874 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.7378, allocations: 185.4 kB / 0.8876 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007644/0.7386, allocations: 442.6 kB / 0.888 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.7389, allocations: 219.1 kB / 0.8882 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.739, allocations: 24 kB / 0.8883 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.7403, allocations: 0.7205 MB / 0.889 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.7405, allocations: 115.6 kB / 0.8891 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.7406, allocations: 139.4 kB / 0.8892 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.7417, allocations: 0.6943 MB / 0.8899 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7417, allocations: 0 / 0.8899 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7417, allocations: 0 / 0.8899 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.7417, allocations: 4 kB / 0.8899 GB, free: 4.867 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.001047/0.7428, allocations: 0.5745 MB / 0.8904 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.7428, allocations: 13.34 kB / 0.8905 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.744, allocations: 155.6 kB / 0.8906 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.7446, allocations: 260.5 kB / 0.8909 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.7446, allocations: 20.5 kB / 0.8909 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.7446, allocations: 24 kB / 0.8909 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.7452, allocations: 284.3 kB / 0.8912 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.7452, allocations: 0 / 0.8912 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.7452, allocations: 8 kB / 0.8912 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.7452, allocations: 4 kB / 0.8912 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.7457, allocations: 199.7 kB / 0.8914 GB, free: 3.27 MB / 0.7169 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.001358/0.747, allocations: 0.9233 MB / 0.8923 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.7473, allocations: 126.5 kB / 0.8924 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.7475, allocations: 92.73 kB / 0.8925 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004602/0.748, allocations: 67.92 kB / 0.8925 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.748, allocations: 38.56 kB / 0.8926 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.748, allocations: 0 / 0.8926 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008332/0.7489, allocations: 273.6 kB / 0.8928 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.7489, allocations: 55.41 kB / 0.8929 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.7492, allocations: 245.9 kB / 0.8931 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.7492, allocations: 33.7 kB / 0.8932 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.7494, allocations: 184.2 kB / 0.8933 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.7494, allocations: 59.47 kB / 0.8934 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.7495, allocations: 41.7 kB / 0.8934 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.7497, allocations: 334.8 kB / 0.8938 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.7499, allocations: 67.89 kB / 0.8938 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.7502, allocations: 205.2 kB / 0.894 GB, free: 416 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.7505, allocations: 192.6 kB / 0.8942 GB, free: 208 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7505, allocations: 0 / 0.8942 GB, free: 208 kB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005158/0.751, allocations: 237.4 kB / 0.8944 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7511, allocations: 11.94 kB / 0.8944 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7511, allocations: 0 / 0.8944 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.7511, allocations: 8.094 kB / 0.8944 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.7513, allocations: 43.91 kB / 0.8945 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.7513, allocations: 0 / 0.8945 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.7515, allocations: 27.88 kB / 0.8945 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.7515, allocations: 8 kB / 0.8945 GB, free: 15.86 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.0001681/0.7517, allocations: 149.7 kB / 0.8947 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.7517, allocations: 27.86 kB / 0.8947 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.7522, allocations: 218.7 kB / 0.8949 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7522, allocations: 4 kB / 0.8949 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7522, allocations: 0 / 0.8949 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7522, allocations: 0 / 0.8949 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.7533, allocations: 0.6088 MB / 0.8955 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7533, allocations: 4.219 kB / 0.8955 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.7535, allocations: 27.98 kB / 0.8955 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7535, allocations: 4 kB / 0.8955 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.7535, allocations: 8 kB / 0.8955 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.976e-06/0.7535, allocations: 11.86 kB / 0.8956 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.7535, allocations: 4 kB / 0.8956 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.7542, allocations: 421.3 kB / 0.896 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.7543, allocations: 47.86 kB / 0.896 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.7543, allocations: 8 kB / 0.896 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.7545, allocations: 7.938 kB / 0.896 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.7545, allocations: 19.97 kB / 0.896 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.7545, allocations: 4 kB / 0.896 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001768/0.7547, allocations: 185.1 kB / 0.8962 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7547, allocations: 0 / 0.8962 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004608/0.7552, allocations: 83.83 kB / 0.8963 GB, free: 13.94 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.0003254/0.7555, allocations: 155 kB / 0.8964 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.756, allocations: 163.8 kB / 0.8966 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.756, allocations: 0 / 0.8966 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.7562, allocations: 80.45 kB / 0.8967 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.7569, allocations: 132.4 kB / 0.8968 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.758, allocations: 0.598 MB / 0.8974 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.7582, allocations: 162.8 kB / 0.8975 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.7584, allocations: 62.23 kB / 0.8976 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.7584, allocations: 28.5 kB / 0.8976 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7584, allocations: 0 / 0.8976 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01033/0.7688, allocations: 4.774 MB / 0.9023 GB, free: 7.867 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: 6.596295518800616] Failed to read output from testmodel.py, exit status != 0: 0.7774926666170359 0.798602052 0.052674478000000004 Calling exit ...