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.0009721/0.0009721, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008303/0.0008303, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8669/0.8669, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001397/0.001397, allocations: 241.8 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6721/0.6721, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.263e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3751/0.3751, allocations: 147.6 MB / 0.7905 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.3773, allocations: 1.483 MB / 0.7919 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.3776, allocations: 15.88 kB / 0.7919 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.378, allocations: 162.7 kB / 0.7921 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.3795, allocations: 0.7229 MB / 0.7928 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.3808, allocations: 0.6656 MB / 0.7934 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007477/0.3816, allocations: 0.7253 MB / 0.7941 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.3819, allocations: 181.4 kB / 0.7943 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.3825, allocations: 458.6 kB / 0.7947 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.3828, allocations: 195.4 kB / 0.7949 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.3828, allocations: 27.98 kB / 0.795 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.3839, allocations: 0.7242 MB / 0.7957 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3841, allocations: 119.6 kB / 0.7958 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3842, allocations: 131.6 kB / 0.7959 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009922/0.3852, allocations: 0.7363 MB / 0.7966 GB, free: 1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3852, allocations: 0 / 0.7966 GB, free: 1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3852, allocations: 0 / 0.7966 GB, free: 1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.3852, allocations: 4 kB / 0.7966 GB, free: 0.9961 MB / 0.6198 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.001027/0.3862, allocations: 0.5958 MB / 0.7972 GB, free: 380 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3862, allocations: 9.938 kB / 0.7972 GB, free: 372 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.3863, allocations: 58.53 kB / 0.7973 GB, free: 304 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006444/0.3869, allocations: 164.2 kB / 0.7974 GB, free: 140 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.3874, allocations: 260.5 kB / 0.7977 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3874, allocations: 16.5 kB / 0.7977 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.3874, allocations: 24 kB / 0.7977 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.3878, allocations: 289 kB / 0.798 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3878, allocations: 0 / 0.798 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.3878, allocations: 8 kB / 0.798 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3878, allocations: 12.59 kB / 0.798 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.3881, allocations: 200.9 kB / 0.7982 GB, free: 15.3 MB / 0.6355 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.0009758/0.389, allocations: 0.9959 MB / 0.7992 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3892, allocations: 138.5 kB / 0.7993 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3893, allocations: 88.8 kB / 0.7994 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.3896, allocations: 82.61 kB / 0.7995 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3896, allocations: 30.56 kB / 0.7995 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 2.755e-06/0.3896, allocations: 7.828 kB / 0.7995 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0005092/0.3901, allocations: 298.8 kB / 0.7998 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3902, allocations: 59.31 kB / 0.7999 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.3904, allocations: 324.5 kB / 0.8002 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3904, allocations: 25.7 kB / 0.8002 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3905, allocations: 184.2 kB / 0.8004 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.3906, allocations: 63.48 kB / 0.8004 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.3906, allocations: 51.89 kB / 0.8005 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.3907, allocations: 342.8 kB / 0.8008 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.3908, allocations: 67.95 kB / 0.8009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.391, allocations: 198.2 kB / 0.8011 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.3912, allocations: 208.8 kB / 0.8013 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3912, allocations: 0 / 0.8013 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002894/0.3915, allocations: 249.2 kB / 0.8015 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3915, allocations: 4 kB / 0.8015 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3915, allocations: 8.094 kB / 0.8015 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3915, allocations: 0 / 0.8015 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3917, allocations: 47.97 kB / 0.8015 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3917, allocations: 7.938 kB / 0.8016 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3918, allocations: 31.77 kB / 0.8016 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.3918, allocations: 8 kB / 0.8016 GB, free: 11.66 MB / 0.6355 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.0001045/0.3919, allocations: 147.1 kB / 0.8017 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3919, allocations: 35.75 kB / 0.8018 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.3922, allocations: 236.7 kB / 0.802 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3922, allocations: 4 kB / 0.802 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3922, allocations: 0 / 0.802 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3922, allocations: 0 / 0.802 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.3929, allocations: 0.6592 MB / 0.8026 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3929, allocations: 4 kB / 0.8026 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.815e-05/0.393, allocations: 31.97 kB / 0.8027 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.393, allocations: 4 kB / 0.8027 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3931, allocations: 8 kB / 0.8027 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3931, allocations: 7.938 kB / 0.8027 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3931, allocations: 1.125 kB / 0.8027 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.3935, allocations: 455.7 kB / 0.8031 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.3936, allocations: 51.77 kB / 0.8032 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.3936, allocations: 11.98 kB / 0.8032 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.3937, allocations: 4 kB / 0.8032 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3937, allocations: 23.91 kB / 0.8032 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3937, allocations: 8 kB / 0.8032 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001565/0.3939, allocations: 231 kB / 0.8034 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3939, allocations: 0 / 0.8034 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002818/0.3942, allocations: 79.94 kB / 0.8035 GB, free: 9.57 MB / 0.6355 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.001043/0.3952, allocations: 1.041 MB / 0.8045 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.3955, allocations: 175.9 kB / 0.8047 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3955, allocations: 0 / 0.8047 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3956, allocations: 87.83 kB / 0.8048 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.3962, allocations: 175.6 kB / 0.805 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.399, allocations: 2.976 MB / 0.8079 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3991, allocations: 171.8 kB / 0.808 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.3993, allocations: 73.23 kB / 0.8081 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3994, allocations: 92.47 kB / 0.8082 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of SimCode: time 1.011e-06/0.3994, allocations: 0 / 0.8082 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.4257, allocations: 10.29 MB / 0.8182 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.388, allocations: 6.5 kB / 0.8182 GB, free: 10.68 MB / 0.6511 GB " [Timeout remaining time 653] (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: 9.92713587358594] Failed to read output from testmodel.py, exit status != 0: 7.4718827260658145 7.48078289 7.093389432 Calling exit ...