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.00123/0.00123, allocations: 113 kB / 18.94 MB, free: 2.934 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.001409/0.001409, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 8.035 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.002314/0.002314, allocations: 292.9 kB / 312.7 MB, free: 2.891 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.185/1.185, allocations: 180.6 MB / 0.5369 GB, free: 13.08 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.002784/0.002784, allocations: 105.8 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1896, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.6053/0.7949, allocations: 171 MB / 0.9998 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002951/0.7979, allocations: 1.571 MB / 1.001 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.7982, allocations: 19.66 kB / 1.001 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.7988, allocations: 149 kB / 1.001 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.8008, allocations: 0.7463 MB / 1.002 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.8023, allocations: 0.634 MB / 1.003 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.8032, allocations: 0.7346 MB / 1.004 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.8035, allocations: 191.9 kB / 1.004 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006576/0.8042, allocations: 365.7 kB / 1.004 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.8045, allocations: 246.9 kB / 1.004 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.8046, allocations: 24.91 kB / 1.004 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.8062, allocations: 0.9457 MB / 1.005 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.8063, allocations: 114 kB / 1.005 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.8065, allocations: 171.9 kB / 1.006 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.8077, allocations: 0.7354 MB / 1.006 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8077, allocations: 0.625 kB / 1.006 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8078, allocations: 0 / 1.006 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.8078, allocations: 2.766 kB / 1.006 GB, free: 3.312 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.001133/0.8089, allocations: 0.5976 MB / 1.007 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8089, allocations: 12.78 kB / 1.007 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.363e-05/0.809, allocations: 60.34 kB / 1.007 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.8102, allocations: 157.9 kB / 1.007 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.8107, allocations: 266.8 kB / 1.007 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.8107, allocations: 18.12 kB / 1.007 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.8107, allocations: 22.56 kB / 1.007 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.8112, allocations: 285 kB / 1.008 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8112, allocations: 1.656 kB / 1.008 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.8113, allocations: 9.156 kB / 1.008 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.8113, allocations: 6.906 kB / 1.008 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.8117, allocations: 203.2 kB / 1.008 GB, free: 18.6 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.001398/0.8131, allocations: 1.188 MB / 1.009 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.8134, allocations: 144.1 kB / 1.009 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.8135, allocations: 94.36 kB / 1.009 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004363/0.814, allocations: 74.19 kB / 1.009 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.814, allocations: 40.95 kB / 1.009 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.814, allocations: 0 / 1.009 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007028/0.8147, allocations: 301.1 kB / 1.01 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.8148, allocations: 53.69 kB / 1.01 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.8151, allocations: 320 kB / 1.01 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.8151, allocations: 33.67 kB / 1.01 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.8152, allocations: 183.5 kB / 1.01 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.8153, allocations: 63.34 kB / 1.01 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.8153, allocations: 45.38 kB / 1.01 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8155, allocations: 342 kB / 1.011 GB, free: 17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.8156, allocations: 67.03 kB / 1.011 GB, free: 17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.8158, allocations: 136.6 kB / 1.011 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.8161, allocations: 195 kB / 1.011 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8161, allocations: 1.031 kB / 1.011 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004261/0.8165, allocations: 258.3 kB / 1.011 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8165, allocations: 6.406 kB / 1.011 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8165, allocations: 1.375 kB / 1.011 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8166, allocations: 3.75 kB / 1.011 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.8167, allocations: 45.77 kB / 1.011 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.8168, allocations: 3.953 kB / 1.011 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.817, allocations: 34.58 kB / 1.011 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.817, allocations: 12.47 kB / 1.011 GB, free: 16.83 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.0001422/0.8171, allocations: 151.6 kB / 1.011 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.8172, allocations: 38.97 kB / 1.012 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.8176, allocations: 234.1 kB / 1.012 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8176, allocations: 2.562 kB / 1.012 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8176, allocations: 0 / 1.012 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8176, allocations: 4.828 kB / 1.012 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009159/0.8185, allocations: 0.6824 MB / 1.012 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8185, allocations: 1.75 kB / 1.012 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.8187, allocations: 34.75 kB / 1.012 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.8187, allocations: 1.344 kB / 1.012 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.8187, allocations: 8.969 kB / 1.012 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.8187, allocations: 9.578 kB / 1.012 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8187, allocations: 6.062 kB / 1.012 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.8193, allocations: 448.3 kB / 1.013 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/0.8194, allocations: 51.12 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.8194, allocations: 6.281 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.8196, allocations: 10.83 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.8197, allocations: 26.23 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.8197, allocations: 12.44 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002187/0.8199, allocations: 233.2 kB / 1.013 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8199, allocations: 1.188 kB / 1.013 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004112/0.8203, allocations: 83.36 kB / 1.013 GB, free: 16 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.001066/0.8214, allocations: 1.029 MB / 1.014 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.8218, allocations: 169 kB / 1.014 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8218, allocations: 1.344 kB / 1.014 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.8219, allocations: 92.41 kB / 1.015 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.8228, allocations: 160.1 kB / 1.015 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.8261, allocations: 3.007 MB / 1.018 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.8265, allocations: 0.7861 MB / 1.018 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00021/0.8267, allocations: 65.7 kB / 1.018 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.8268, allocations: 94.45 kB / 1.019 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.8268, allocations: 0.8438 kB / 1.019 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.864, allocations: 9.278 MB / 1.028 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.14, allocations: 5.312 kB / 1.028 GB, free: 12.22 MB / 0.7325 GB " [Timeout remaining time 649] (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: 15.169620546002989] Failed to read output from testmodel.py, exit status != 0: 11.245561929998075 11.256935967 10.446560058 Calling exit ...