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.001607/0.001607, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001842/0.001842, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.002527/0.002527, allocations: 298 kB / 313.5 MB, free: 2.602 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.218/1.218, allocations: 180.6 MB / 0.5377 GB, free: 14.53 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: 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.002924/0.002924, allocations: 110.7 kB / 0.7407 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1768, allocations: 95.38 MB / 0.8339 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1843/0.3611, allocations: 147.7 MB / 0.9781 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003055/0.3642, allocations: 1.495 MB / 0.9795 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004443/0.3646, allocations: 19.81 kB / 0.9796 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.3652, allocations: 146.9 kB / 0.9797 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.3673, allocations: 0.7079 MB / 0.9804 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.369, allocations: 0.6264 MB / 0.981 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4552/0.8241, allocations: 0.7154 MB / 0.9817 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005014/0.8247, allocations: 191.6 kB / 0.9819 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008291/0.8255, allocations: 358.2 kB / 0.9822 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.8258, allocations: 231.3 kB / 0.9824 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.8259, allocations: 23.03 kB / 0.9825 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.8273, allocations: 0.7229 MB / 0.9832 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.8275, allocations: 117.2 kB / 0.9833 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.8276, allocations: 142.8 kB / 0.9834 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.8288, allocations: 0.7075 MB / 0.9841 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8288, allocations: 1 kB / 0.9841 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8288, allocations: 0 / 0.9841 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.8288, allocations: 0 / 0.9841 GB, free: 4.445 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.001233/0.8301, allocations: 0.5977 MB / 0.9847 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8301, allocations: 12.88 kB / 0.9847 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.8313, allocations: 156.3 kB / 0.9849 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.8318, allocations: 256.8 kB / 0.9851 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.8318, allocations: 20.8 kB / 0.9851 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.8319, allocations: 26.09 kB / 0.9851 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.8324, allocations: 283.9 kB / 0.9854 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.8324, allocations: 4.219 kB / 0.9854 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.8324, allocations: 8.781 kB / 0.9854 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.8324, allocations: 6.438 kB / 0.9854 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.8328, allocations: 202.8 kB / 0.9856 GB, free: 19.78 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.001274/0.8341, allocations: 0.9336 MB / 0.9865 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.8344, allocations: 139.4 kB / 0.9867 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.8345, allocations: 98.5 kB / 0.9868 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/0.835, allocations: 73.67 kB / 0.9868 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.8351, allocations: 39.69 kB / 0.9869 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.8351, allocations: 0 / 0.9869 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008048/0.8359, allocations: 289.8 kB / 0.9872 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.8359, allocations: 54.69 kB / 0.9872 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.8362, allocations: 262.9 kB / 0.9875 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.8362, allocations: 29.77 kB / 0.9875 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.8364, allocations: 189.9 kB / 0.9877 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.8364, allocations: 62.39 kB / 0.9877 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.8365, allocations: 45.95 kB / 0.9878 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.8367, allocations: 336.4 kB / 0.9881 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.8368, allocations: 71.78 kB / 0.9882 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.8371, allocations: 202.1 kB / 0.9884 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.8374, allocations: 198.4 kB / 0.9885 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8374, allocations: 0 / 0.9885 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004433/0.8379, allocations: 257.3 kB / 0.9888 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8379, allocations: 5.688 kB / 0.9888 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.8379, allocations: 3.375 kB / 0.9888 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.8379, allocations: 3.422 kB / 0.9888 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.8381, allocations: 44.83 kB / 0.9888 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.8381, allocations: 3.484 kB / 0.9888 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.8383, allocations: 25.3 kB / 0.9889 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.8384, allocations: 13.84 kB / 0.9889 GB, free: 18.14 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.0001546/0.8385, allocations: 154.8 kB / 0.989 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.8386, allocations: 27.42 kB / 0.9891 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.839, allocations: 232.2 kB / 0.9893 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.839, allocations: 0 / 0.9893 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.839, allocations: 0 / 0.9893 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.839, allocations: 4.781 kB / 0.9893 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/0.84, allocations: 0.6121 MB / 0.9899 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.84, allocations: 4.344 kB / 0.9899 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.8401, allocations: 34.55 kB / 0.9899 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8401, allocations: 4.391 kB / 0.9899 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.8401, allocations: 11.38 kB / 0.9899 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.8401, allocations: 0.7031 kB / 0.9899 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8401, allocations: 10.84 kB / 0.9899 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.8408, allocations: 452.2 kB / 0.9904 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.254e-05/0.8409, allocations: 46.17 kB / 0.9904 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.8409, allocations: 4.984 kB / 0.9904 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.841, allocations: 11.61 kB / 0.9904 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.8411, allocations: 19.72 kB / 0.9905 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.8411, allocations: 7.703 kB / 0.9905 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001672/0.8413, allocations: 185.9 kB / 0.9906 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8413, allocations: 3.094 kB / 0.9906 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004288/0.8417, allocations: 91.69 kB / 0.9907 GB, free: 17.36 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.0002633/0.842, allocations: 147 kB / 0.9909 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.8424, allocations: 176.6 kB / 0.991 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8424, allocations: 2.625 kB / 0.991 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.8426, allocations: 90.95 kB / 0.9911 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.8432, allocations: 119.3 kB / 0.9912 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/0.8442, allocations: 0.6546 MB / 0.9919 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.8444, allocations: 176 kB / 0.992 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.8445, allocations: 27.22 kB / 0.9921 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.8445, allocations: 1.062 kB / 0.9921 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.009092/0.8535, allocations: 4.508 MB / 0.9965 GB, free: 16.65 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: 9.893253365065902] Failed to read output from testmodel.py, exit status != 0: 0.8611148661002517 0.872921105 0.041519148000000006 Calling exit ...