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.001347/0.001347, allocations: 78.34 kB / 19.01 MB, free: 2.863 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.001417/0.001417, allocations: 156.4 kB / 22.26 MB, free: 5.117 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.421/1.421, allocations: 177.2 MB / 202.6 MB, free: 9.266 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.002564/0.002564, allocations: 229.8 kB / 259.2 MB, free: 0.5859 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.095/1.095, 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.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.003174/0.003174, allocations: 103.9 kB / 0.6466 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4526, allocations: 95.35 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1984/0.651, allocations: 147.6 MB / 0.8839 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.6546, allocations: 1.496 MB / 0.8853 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.655, allocations: 15.88 kB / 0.8853 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007311/0.6558, allocations: 154.8 kB / 0.8855 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.6584, allocations: 0.7079 MB / 0.8862 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.6608, allocations: 0.634 MB / 0.8868 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.6625, allocations: 0.7178 MB / 0.8875 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.6631, allocations: 189.3 kB / 0.8877 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.6644, allocations: 462.5 kB / 0.8881 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.6648, allocations: 234.9 kB / 0.8883 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.6649, allocations: 24 kB / 0.8884 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.6669, allocations: 0.7206 MB / 0.8891 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.6672, allocations: 111.6 kB / 0.8892 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.6675, allocations: 151.3 kB / 0.8893 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.6691, allocations: 0.6943 MB / 0.89 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6691, allocations: 0 / 0.89 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.215e-06/0.6691, allocations: 0 / 0.89 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.6691, allocations: 4 kB / 0.89 GB, free: 4.723 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.001546/0.6707, allocations: 0.6017 MB / 0.8906 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.6707, allocations: 13.34 kB / 0.8906 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.6725, allocations: 159.6 kB / 0.8907 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008449/0.6734, allocations: 268.5 kB / 0.891 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.6734, allocations: 16.5 kB / 0.891 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.6735, allocations: 27.94 kB / 0.891 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.6744, allocations: 281.1 kB / 0.8913 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6744, allocations: 0 / 0.8913 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.6744, allocations: 8 kB / 0.8913 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.6744, allocations: 8 kB / 0.8913 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/0.6753, allocations: 204.9 kB / 0.8915 GB, free: 3.086 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.00204/0.6773, allocations: 0.9291 MB / 0.8924 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.6778, allocations: 142.4 kB / 0.8926 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.6781, allocations: 92.73 kB / 0.8927 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007318/0.6788, allocations: 75.86 kB / 0.8927 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.6788, allocations: 34.56 kB / 0.8928 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.6788, allocations: 0 / 0.8928 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001192/0.68, allocations: 285.6 kB / 0.893 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.6801, allocations: 55.41 kB / 0.8931 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.6806, allocations: 268.1 kB / 0.8933 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.6806, allocations: 29.7 kB / 0.8934 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.6809, allocations: 184.2 kB / 0.8935 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/0.681, allocations: 59.48 kB / 0.8936 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6811, allocations: 49.66 kB / 0.8937 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002794/0.6814, allocations: 334.8 kB / 0.894 GB, free: 472 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.6817, allocations: 67.95 kB / 0.894 GB, free: 404 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.6821, allocations: 211.2 kB / 0.8942 GB, free: 156 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.6829, allocations: 200.1 kB / 0.8944 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6829, allocations: 0 / 0.8944 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008773/0.6837, allocations: 249.2 kB / 0.8947 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.6838, allocations: 6.344 kB / 0.8947 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6838, allocations: 4 kB / 0.8947 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.6838, allocations: 4.094 kB / 0.8947 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.6842, allocations: 51.86 kB / 0.8947 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.6842, allocations: 7.984 kB / 0.8947 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.6845, allocations: 19.89 kB / 0.8948 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.6846, allocations: 12.12 kB / 0.8948 GB, free: 15.59 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.0003819/0.6849, allocations: 149.8 kB / 0.8949 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.685, allocations: 35.73 kB / 0.8949 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009287/0.686, allocations: 231.6 kB / 0.8952 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.686, allocations: 0 / 0.8952 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.686, allocations: 0 / 0.8952 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.686, allocations: 7.938 kB / 0.8952 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.688, allocations: 0.6131 MB / 0.8958 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.688, allocations: 4 kB / 0.8958 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.6883, allocations: 39.91 kB / 0.8958 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.6883, allocations: 4 kB / 0.8958 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.6884, allocations: 4 kB / 0.8958 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.6884, allocations: 7.938 kB / 0.8958 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6884, allocations: 0 / 0.8958 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.6897, allocations: 449.1 kB / 0.8963 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.6898, allocations: 51.73 kB / 0.8963 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.6899, allocations: 7.984 kB / 0.8963 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.6902, allocations: 8 kB / 0.8963 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.6903, allocations: 23.84 kB / 0.8963 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.6903, allocations: 8 kB / 0.8964 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003242/0.6906, allocations: 183.1 kB / 0.8965 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6906, allocations: 0 / 0.8965 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007419/0.6914, allocations: 87.83 kB / 0.8966 GB, free: 13.58 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.0005006/0.6919, allocations: 151.2 kB / 0.8968 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007716/0.6926, allocations: 178.5 kB / 0.8969 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6927, allocations: 0 / 0.8969 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.6931, allocations: 88.55 kB / 0.897 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.6944, allocations: 120.9 kB / 0.8971 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.6962, allocations: 0.6305 MB / 0.8977 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6965, allocations: 175.5 kB / 0.8979 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.6968, allocations: 58.23 kB / 0.898 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.6969, allocations: 20.5 kB / 0.898 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.6969, allocations: 0 / 0.898 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.01886/0.7158, allocations: 4.853 MB / 0.9027 GB, free: 7.398 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: 6.463770961388946] Failed to read output from testmodel.py, exit status != 0: 0.7273329924792051 0.756884776 0.08236415500000001 Calling exit ...