Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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.001845/0.001845, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002495/0.002495, allocations: 212.9 kB / 22.24 MB, free: 4.855 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.805 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.003713/0.003713, allocations: 298.4 kB / 312.7 MB, free: 2.594 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.41/1.41, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") [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.002942/0.002942, allocations: 105.2 kB / 0.74 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2135, allocations: 95.37 MB / 0.8331 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.2108/0.4243, allocations: 147.7 MB / 0.9773 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.4281, allocations: 1.485 MB / 0.9788 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005801/0.4287, allocations: 23.75 kB / 0.9788 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007288/0.4294, allocations: 158.9 kB / 0.979 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.432, allocations: 0.7039 MB / 0.9797 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.4341, allocations: 0.6186 MB / 0.9803 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4968/0.9309, allocations: 0.7265 MB / 0.981 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007292/0.9316, allocations: 181.2 kB / 0.9811 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.9328, allocations: 372.9 kB / 0.9815 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/0.9332, allocations: 225.9 kB / 0.9817 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.9333, allocations: 22.78 kB / 0.9817 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.9354, allocations: 0.7219 MB / 0.9824 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.9356, allocations: 110.5 kB / 0.9825 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.9358, allocations: 147 kB / 0.9827 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.9372, allocations: 0.7048 MB / 0.9834 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9372, allocations: 4.375 kB / 0.9834 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.484e-06/0.9373, allocations: 0 / 0.9834 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.9373, allocations: 0 / 0.9834 GB, free: 4.496 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001308/0.9386, allocations: 0.6008 MB / 0.984 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.9386, allocations: 11.84 kB / 0.984 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.9399, allocations: 155.8 kB / 0.9841 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/0.9405, allocations: 259.1 kB / 0.9844 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.9405, allocations: 17.47 kB / 0.9844 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.9406, allocations: 26.41 kB / 0.9844 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.9411, allocations: 286.4 kB / 0.9847 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.9411, allocations: 1.094 kB / 0.9847 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.9411, allocations: 9.281 kB / 0.9847 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.9411, allocations: 6.281 kB / 0.9847 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.9416, allocations: 205.1 kB / 0.9849 GB, free: 19.83 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.001378/0.9429, allocations: 0.9372 MB / 0.9858 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.9432, allocations: 135.6 kB / 0.9859 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.9434, allocations: 96.02 kB / 0.986 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/0.9439, allocations: 74.91 kB / 0.9861 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.9439, allocations: 33.25 kB / 0.9861 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.9439, allocations: 0.9688 kB / 0.9861 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007859/0.9447, allocations: 293 kB / 0.9864 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.9448, allocations: 52.78 kB / 0.9865 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.945, allocations: 263.9 kB / 0.9867 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.9451, allocations: 31.45 kB / 0.9867 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.9452, allocations: 187.2 kB / 0.9869 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.9452, allocations: 61.38 kB / 0.987 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.9453, allocations: 46.36 kB / 0.987 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9455, allocations: 338.3 kB / 0.9873 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.9456, allocations: 71.61 kB / 0.9874 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.9459, allocations: 209.7 kB / 0.9876 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.9462, allocations: 197.7 kB / 0.9878 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9462, allocations: 1.625 kB / 0.9878 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004274/0.9467, allocations: 252.9 kB / 0.988 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.9467, allocations: 7.172 kB / 0.9881 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.9467, allocations: 2.875 kB / 0.9881 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9467, allocations: 1.625 kB / 0.9881 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.9469, allocations: 47.53 kB / 0.9881 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.9469, allocations: 3.578 kB / 0.9881 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.9471, allocations: 26.03 kB / 0.9881 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.9471, allocations: 10.25 kB / 0.9881 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 (24): * Single equations (assignments): 24 * 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.0001553/0.9473, allocations: 153.6 kB / 0.9883 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.9473, allocations: 28.69 kB / 0.9883 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.9478, allocations: 232.2 kB / 0.9885 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9478, allocations: 2.75 kB / 0.9885 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9478, allocations: 1.781 kB / 0.9885 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9478, allocations: 0.6094 kB / 0.9885 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.9488, allocations: 0.6182 MB / 0.9891 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9488, allocations: 2.781 kB / 0.9891 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.949, allocations: 35.86 kB / 0.9892 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.949, allocations: 10.69 kB / 0.9892 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.949, allocations: 6.938 kB / 0.9892 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.949, allocations: 3.281 kB / 0.9892 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.949, allocations: 3.562 kB / 0.9892 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.9496, allocations: 450.5 kB / 0.9896 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.9497, allocations: 47.14 kB / 0.9897 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.9498, allocations: 7.484 kB / 0.9897 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.9499, allocations: 9.719 kB / 0.9897 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.95, allocations: 24.23 kB / 0.9897 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.95, allocations: 8.844 kB / 0.9897 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001636/0.9502, allocations: 183.9 kB / 0.9899 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9502, allocations: 0.875 kB / 0.9899 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004141/0.9506, allocations: 91.72 kB / 0.99 GB, free: 17.41 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 (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 Backend phase and start with SimCode phase: time 0.0003117/0.9509, allocations: 147.3 kB / 0.9901 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.9513, allocations: 176.3 kB / 0.9903 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9513, allocations: 0 / 0.9903 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.9515, allocations: 88.92 kB / 0.9904 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.0007142/0.9522, allocations: 123.3 kB / 0.9905 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.9531, allocations: 0.6237 MB / 0.9911 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.9533, allocations: 178.9 kB / 0.9913 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000177/0.9535, allocations: 55.8 kB / 0.9913 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.9535, allocations: 25.44 kB / 0.9914 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.9535, allocations: 0 / 0.9914 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.0122/0.9657, allocations: 5.299 MB / 0.9965 GB, free: 16.61 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.465353453531861] Failed to read output from testmodel.py, exit status != 0: 0.9740691520273685 0.985422521 0.045654472 Calling exit ...