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.00124/0.00124, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.00142/0.00142, allocations: 212 kB / 19.43 MB, free: 3.637 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.376/1.376, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002371/0.002371, allocations: 296.4 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 180.9 MB / 0.5333 GB, free: 13.78 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002761/0.002761, allocations: 114.9 kB / 0.7343 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1732, allocations: 95.34 MB / 0.8274 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.6448/0.818, allocations: 170.8 MB / 0.9942 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.8208, allocations: 1.556 MB / 0.9957 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.8212, allocations: 16.5 kB / 0.9957 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.8217, allocations: 156.5 kB / 0.9959 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.8235, allocations: 0.7472 MB / 0.9966 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.8254, allocations: 0.5995 MB / 0.9972 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.8266, allocations: 0.7224 MB / 0.9979 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.827, allocations: 201.3 kB / 0.9981 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008141/0.8278, allocations: 365.6 kB / 0.9985 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.8282, allocations: 243.9 kB / 0.9987 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.8282, allocations: 23 kB / 0.9987 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.8302, allocations: 0.9294 MB / 0.9996 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.8304, allocations: 115.2 kB / 0.9997 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.8306, allocations: 165.5 kB / 0.9999 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.8321, allocations: 0.7394 MB / 1.001 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8321, allocations: 0.5312 kB / 1.001 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8321, allocations: 1.438 kB / 1.001 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8321, allocations: 1.094 kB / 1.001 GB, free: 3.113 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.001335/0.8335, allocations: 0.6731 MB / 1.001 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.8335, allocations: 9.531 kB / 1.001 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.264e-05/0.8336, allocations: 58.16 kB / 1.001 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.8348, allocations: 159.1 kB / 1.001 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.8354, allocations: 333 kB / 1.002 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.8355, allocations: 18.25 kB / 1.002 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.8355, allocations: 22.22 kB / 1.002 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.8361, allocations: 288.4 kB / 1.002 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.8361, allocations: 0.5 kB / 1.002 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.8362, allocations: 9.188 kB / 1.002 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.8362, allocations: 9.328 kB / 1.002 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.8367, allocations: 202.6 kB / 1.002 GB, free: 18.23 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.001647/0.8383, allocations: 1.221 MB / 1.004 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.8387, allocations: 141.2 kB / 1.004 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.8389, allocations: 93.69 kB / 1.004 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006464/0.8395, allocations: 304 kB / 1.004 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.8396, allocations: 35.84 kB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.8396, allocations: 0.9062 kB / 1.004 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008223/0.8404, allocations: 301.6 kB / 1.004 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.8404, allocations: 53.62 kB / 1.004 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.8408, allocations: 327 kB / 1.005 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.8408, allocations: 30.39 kB / 1.005 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.8409, allocations: 185.2 kB / 1.005 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.841, allocations: 62.78 kB / 1.005 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.841, allocations: 45.5 kB / 1.005 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8412, allocations: 341.8 kB / 1.005 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.8414, allocations: 70.2 kB / 1.005 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.8416, allocations: 130.6 kB / 1.006 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.8419, allocations: 198.4 kB / 1.006 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8419, allocations: 1.031 kB / 1.006 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004715/0.8424, allocations: 263.5 kB / 1.006 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.8424, allocations: 6.625 kB / 1.006 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8424, allocations: 1.938 kB / 1.006 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8424, allocations: 5.375 kB / 1.006 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.8427, allocations: 46.05 kB / 1.006 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.8427, allocations: 8.031 kB / 1.006 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.8429, allocations: 39.14 kB / 1.006 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.8429, allocations: 9.219 kB / 1.006 GB, free: 16.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.0001529/0.8431, allocations: 152.1 kB / 1.006 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.8431, allocations: 33.66 kB / 1.006 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.8436, allocations: 231.6 kB / 1.006 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.8436, allocations: 2.438 kB / 1.006 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8436, allocations: 0 / 1.006 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8436, allocations: 1.375 kB / 1.006 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/0.8446, allocations: 0.7059 MB / 1.007 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8446, allocations: 3.422 kB / 1.007 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.8448, allocations: 40.02 kB / 1.007 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.8448, allocations: 3.594 kB / 1.007 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.8448, allocations: 6.141 kB / 1.007 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.8448, allocations: 3.562 kB / 1.007 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8448, allocations: 6.531 kB / 1.007 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.8454, allocations: 451.7 kB / 1.008 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.8456, allocations: 123.9 kB / 1.008 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.8456, allocations: 12.59 kB / 1.008 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.8458, allocations: 10.2 kB / 1.008 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.8458, allocations: 18.12 kB / 1.008 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.8458, allocations: 5.5 kB / 1.008 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002082/0.846, allocations: 232.5 kB / 1.008 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.846, allocations: 1.375 kB / 1.008 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004362/0.8465, allocations: 90.84 kB / 1.008 GB, free: 15.19 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.001152/0.8476, allocations: 1.038 MB / 1.009 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.8481, allocations: 175 kB / 1.009 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.8481, allocations: 0 / 1.009 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.8483, allocations: 88.89 kB / 1.009 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/0.8491, allocations: 173.3 kB / 1.01 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.8527, allocations: 3.009 MB / 1.013 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.8531, allocations: 0.7795 MB / 1.013 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.8533, allocations: 68.88 kB / 1.013 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.8535, allocations: 95.77 kB / 1.013 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.8535, allocations: 0 / 1.013 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.8865, allocations: 9.05 MB / 1.022 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.892, allocations: 10.09 kB / 1.022 GB, free: 11.42 MB / 0.7325 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 12.830853335093707] Failed to read output from testmodel.py, exit status != 0: 8.960889363661408 8.970226612 8.135923377 Calling exit ...