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.001581/0.001581, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001794/0.001794, allocations: 211.5 kB / 22.24 MB, free: 5.242 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.82 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.002401/0.002401, allocations: 288.7 kB / 312.7 MB, free: 2.629 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.179/1.179, allocations: 180.6 MB / 0.5369 GB, free: 14.65 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",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.002869/0.002869, allocations: 102.3 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1795, allocations: 95.38 MB / 0.8327 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1832/0.3627, allocations: 147.7 MB / 0.9769 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.3655, allocations: 1.487 MB / 0.9783 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.3657, allocations: 23.81 kB / 0.9783 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.3662, allocations: 154.9 kB / 0.9785 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.3678, allocations: 0.7039 MB / 0.9792 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.3693, allocations: 0.6223 MB / 0.9798 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008002/0.3701, allocations: 0.7293 MB / 0.9805 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.3704, allocations: 181.3 kB / 0.9807 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4245/0.7949, allocations: 366.8 kB / 0.981 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.7953, allocations: 222.7 kB / 0.9812 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.7954, allocations: 23.41 kB / 0.9812 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.7971, allocations: 0.7206 MB / 0.982 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.7973, allocations: 115.7 kB / 0.9821 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.7975, allocations: 144 kB / 0.9822 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.7985, allocations: 0.7052 MB / 0.9829 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7985, allocations: 3.031 kB / 0.9829 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7985, allocations: 1.984 kB / 0.9829 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.7986, allocations: 0 / 0.9829 GB, free: 4.297 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.001047/0.7996, allocations: 0.5986 MB / 0.9835 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/0.7997, allocations: 11.03 kB / 0.9835 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.405e-05/0.7997, allocations: 57.92 kB / 0.9835 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.801, allocations: 155.8 kB / 0.9837 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.8015, allocations: 269.3 kB / 0.9839 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.8016, allocations: 18.94 kB / 0.984 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.8016, allocations: 27.28 kB / 0.984 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.8021, allocations: 281.5 kB / 0.9843 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8021, allocations: 0 / 0.9843 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.8022, allocations: 10.16 kB / 0.9843 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.8022, allocations: 8.844 kB / 0.9843 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.8026, allocations: 204.3 kB / 0.9845 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.001454/0.8041, allocations: 0.9941 MB / 0.9854 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.8044, allocations: 138.2 kB / 0.9856 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.8046, allocations: 93.06 kB / 0.9857 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/0.8051, allocations: 76.72 kB / 0.9857 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.8052, allocations: 36.78 kB / 0.9858 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.8052, allocations: 1 kB / 0.9858 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0009073/0.8061, allocations: 292.8 kB / 0.9861 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.8061, allocations: 55.58 kB / 0.9861 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.8065, allocations: 323.9 kB / 0.9864 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.8066, allocations: 32.03 kB / 0.9864 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.8067, allocations: 180.2 kB / 0.9866 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.8068, allocations: 67.28 kB / 0.9867 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.8069, allocations: 49.61 kB / 0.9867 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.807, allocations: 343.9 kB / 0.9871 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.8072, allocations: 70 kB / 0.9871 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.8075, allocations: 205.7 kB / 0.9873 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.8079, allocations: 204.8 kB / 0.9875 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8079, allocations: 3.031 kB / 0.9875 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004788/0.8084, allocations: 252.6 kB / 0.9878 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8084, allocations: 7.969 kB / 0.9878 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8084, allocations: 0.5156 kB / 0.9878 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8084, allocations: 4.781 kB / 0.9878 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.8086, allocations: 51.17 kB / 0.9878 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8086, allocations: 0.7031 kB / 0.9878 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.8088, allocations: 34.19 kB / 0.9879 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.8088, allocations: 13.11 kB / 0.9879 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.0001545/0.809, allocations: 153.2 kB / 0.988 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.809, allocations: 38.45 kB / 0.988 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.8095, allocations: 229.4 kB / 0.9883 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8095, allocations: 0.7031 kB / 0.9883 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8095, allocations: 0.5938 kB / 0.9883 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.8095, allocations: 4.578 kB / 0.9883 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.8106, allocations: 0.6589 MB / 0.9889 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.8106, allocations: 0 / 0.9889 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.8108, allocations: 38.47 kB / 0.989 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.8108, allocations: 2.562 kB / 0.989 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.8108, allocations: 11.16 kB / 0.989 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8108, allocations: 4.328 kB / 0.989 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8108, allocations: 2.531 kB / 0.989 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.8114, allocations: 449.7 kB / 0.9894 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.8115, allocations: 53.02 kB / 0.9895 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.8115, allocations: 11.2 kB / 0.9895 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.8117, allocations: 12.08 kB / 0.9895 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.8118, allocations: 16.09 kB / 0.9895 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.8118, allocations: 8.844 kB / 0.9895 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002218/0.812, allocations: 232.8 kB / 0.9897 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.812, allocations: 0 / 0.9897 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003968/0.8124, allocations: 81.55 kB / 0.9898 GB, free: 17.1 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.001062/0.8135, allocations: 1.022 MB / 0.9908 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.8139, allocations: 180.2 kB / 0.991 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8139, allocations: 2.688 kB / 0.991 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.814, allocations: 88.94 kB / 0.9911 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.0008613/0.8149, allocations: 172.3 kB / 0.9912 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.8186, allocations: 3.01 MB / 0.9942 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.8188, allocations: 173.8 kB / 0.9943 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.819, allocations: 63.59 kB / 0.9944 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.8191, allocations: 94.88 kB / 0.9945 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.8191, allocations: 1 kB / 0.9945 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.8594, allocations: 10.2 MB / 1.004 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.54, allocations: 1.812 kB / 1.004 GB, free: 13.46 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: 15.523422786965966] Failed to read output from testmodel.py, exit status != 0: 11.658609663136303 11.670422813 10.869250804 Calling exit ...