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.001258/0.001258, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001503/0.001503, allocations: 215.6 kB / 23.03 MB, free: 4.953 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002436/0.002436, allocations: 293.7 kB / 313.5 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.217/1.217, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) [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.002704/0.002704, allocations: 100.4 kB / 0.7403 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1798, allocations: 95.37 MB / 0.8334 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1881/0.3679, allocations: 147.6 MB / 0.9775 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00289/0.3708, allocations: 1.479 MB / 0.979 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/0.3712, allocations: 19.81 kB / 0.979 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.3718, allocations: 154.9 kB / 0.9791 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.3736, allocations: 0.7039 MB / 0.9798 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3753, allocations: 0.6352 MB / 0.9804 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3763, allocations: 0.7332 MB / 0.9811 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.3767, allocations: 185.3 kB / 0.9813 GB, free: 292 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4057/0.7824, allocations: 359.5 kB / 0.9817 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005666/0.783, allocations: 244.6 kB / 0.9819 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.7831, allocations: 24.12 kB / 0.9819 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.7847, allocations: 0.7319 MB / 0.9826 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.7849, allocations: 112.1 kB / 0.9827 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.7851, allocations: 142.4 kB / 0.9829 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.7863, allocations: 0.7088 MB / 0.9836 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7864, allocations: 0.875 kB / 0.9836 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7864, allocations: 3.188 kB / 0.9836 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.7864, allocations: 0 / 0.9836 GB, free: 4.293 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.001101/0.7875, allocations: 0.6 MB / 0.9842 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7875, allocations: 10.72 kB / 0.9842 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.906e-05/0.7875, allocations: 7.438 kB / 0.9842 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.7876, allocations: 63.58 kB / 0.9842 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.7887, allocations: 150.4 kB / 0.9844 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.7892, allocations: 265.7 kB / 0.9846 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.7892, allocations: 19.88 kB / 0.9847 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.7893, allocations: 24.08 kB / 0.9847 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.7898, allocations: 282.4 kB / 0.985 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.7898, allocations: 0 / 0.985 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.7898, allocations: 10.53 kB / 0.985 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.7898, allocations: 7.719 kB / 0.985 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.7902, allocations: 207.3 kB / 0.9852 GB, free: 19.59 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.001345/0.7916, allocations: 0.9954 MB / 0.9861 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.7918, allocations: 137.3 kB / 0.9863 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.792, allocations: 95.06 kB / 0.9864 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/0.7925, allocations: 74.89 kB / 0.9864 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.7925, allocations: 32.44 kB / 0.9865 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.7925, allocations: 1 kB / 0.9865 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008009/0.7933, allocations: 298.1 kB / 0.9867 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.7934, allocations: 55.38 kB / 0.9868 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.7937, allocations: 323.3 kB / 0.9871 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.7938, allocations: 27.27 kB / 0.9871 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.7939, allocations: 185.3 kB / 0.9873 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.7939, allocations: 64.88 kB / 0.9874 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.794, allocations: 48.05 kB / 0.9874 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7941, allocations: 346.6 kB / 0.9877 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.7943, allocations: 70.52 kB / 0.9878 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.7946, allocations: 202.6 kB / 0.988 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.7949, allocations: 203.8 kB / 0.9882 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7949, allocations: 1.359 kB / 0.9882 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004535/0.7953, allocations: 251.7 kB / 0.9884 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.7954, allocations: 6 kB / 0.9885 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7954, allocations: 4.719 kB / 0.9885 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.7954, allocations: 2.969 kB / 0.9885 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.7956, allocations: 44.44 kB / 0.9885 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7956, allocations: 9.047 kB / 0.9885 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.7958, allocations: 36.16 kB / 0.9885 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.7958, allocations: 7.031 kB / 0.9886 GB, free: 17.92 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.0001387/0.7959, allocations: 157 kB / 0.9887 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.796, allocations: 33.41 kB / 0.9887 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.7964, allocations: 229.7 kB / 0.989 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7964, allocations: 4 kB / 0.989 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7964, allocations: 0 / 0.989 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7964, allocations: 1.172 kB / 0.989 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00092/0.7974, allocations: 0.6577 MB / 0.9896 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7974, allocations: 0.6562 kB / 0.9896 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.7975, allocations: 37.94 kB / 0.9896 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7975, allocations: 4.75 kB / 0.9896 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.7975, allocations: 9.594 kB / 0.9896 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7975, allocations: 4.578 kB / 0.9897 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7976, allocations: 2.938 kB / 0.9897 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.7981, allocations: 453.2 kB / 0.9901 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.7982, allocations: 51.53 kB / 0.9901 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.7983, allocations: 11.48 kB / 0.9901 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.7985, allocations: 15.61 kB / 0.9902 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.7985, allocations: 14.92 kB / 0.9902 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.7985, allocations: 11.88 kB / 0.9902 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002001/0.7987, allocations: 230.2 kB / 0.9904 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7987, allocations: 0 / 0.9904 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003919/0.7991, allocations: 85.45 kB / 0.9905 GB, free: 17.09 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.001021/0.8001, allocations: 1.026 MB / 0.9915 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.8005, allocations: 180.3 kB / 0.9917 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8005, allocations: 2.625 kB / 0.9917 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.8007, allocations: 90.25 kB / 0.9918 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.8015, allocations: 175.6 kB / 0.9919 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.805, allocations: 3.001 MB / 0.9949 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.8052, allocations: 175.2 kB / 0.995 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000246/0.8054, allocations: 68.09 kB / 0.9951 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.8056, allocations: 95.14 kB / 0.9952 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.8056, allocations: 0 / 0.9952 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.8418, allocations: 9.846 MB / 1.005 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.16, allocations: 6.781 kB / 1.005 GB, free: 13.86 MB / 0.7325 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.286858010920696] Failed to read output from testmodel.py, exit status != 0: 12.322459323098883 12.33474739 11.545894542 Calling exit ...