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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8994/0.8994, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001305, allocations: 173.1 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.783/1.783, allocations: 223.2 MB / 447.7 MB, free: 6.57 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.000947, allocations: 99.67 kB / 0.5188 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002383/0.002383, allocations: 272.7 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005268, allocations: 19.98 kB / 0.6929 GB, free: 2.234 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5176, allocations: 82.78 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.391/5.909, allocations: 1.867 GB / 2.641 GB, free: 118.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/5.909, allocations: 90.58 kB / 2.641 GB, free: 118.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.023/6.932, allocations: 247.1 MB / 2.882 GB, free: 156.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/6.932, allocations: 0 / 2.882 GB, free: 156.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.738e-05/6.932, allocations: 12 kB / 2.882 GB, free: 156.1 MB / 0.698 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.001761/6.933, allocations: 0.705 MB / 2.883 GB, free: 155.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/6.933, allocations: 8.031 kB / 2.883 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/6.934, allocations: 58.55 kB / 2.883 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/6.935, allocations: 151.4 kB / 2.883 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/6.935, allocations: 321.2 kB / 2.883 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/6.936, allocations: 20.56 kB / 2.883 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/6.936, allocations: 24 kB / 2.883 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/6.936, allocations: 278.8 kB / 2.884 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/6.936, allocations: 4 kB / 2.884 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/6.936, allocations: 8.516 kB / 2.884 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/6.936, allocations: 8 kB / 2.884 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/6.937, allocations: 200.9 kB / 2.884 GB, free: 154.2 MB / 0.698 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.001452/6.938, allocations: 1.23 MB / 2.885 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/6.938, allocations: 142.5 kB / 2.885 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/6.939, allocations: 299.2 kB / 2.885 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/6.939, allocations: 34.56 kB / 2.885 GB, free: 152.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/6.939, allocations: 0 / 2.885 GB, free: 152.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0007617/6.94, allocations: 295.5 kB / 2.886 GB, free: 152 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/6.94, allocations: 51.41 kB / 2.886 GB, free: 152 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/6.94, allocations: 291.6 kB / 2.886 GB, free: 151.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/6.94, allocations: 29.7 kB / 2.886 GB, free: 151.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/6.94, allocations: 184.1 kB / 2.886 GB, free: 151.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/6.94, allocations: 55.2 kB / 2.886 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/6.94, allocations: 4 kB / 2.886 GB, free: 151.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/6.94, allocations: 342.8 kB / 2.887 GB, free: 151 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/6.94, allocations: 67.95 kB / 2.887 GB, free: 151 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/6.941, allocations: 134.8 kB / 2.887 GB, free: 150.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/6.941, allocations: 84.45 kB / 2.887 GB, free: 150.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/6.941, allocations: 0 / 2.887 GB, free: 150.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000431/6.941, allocations: 249.7 kB / 2.887 GB, free: 150.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/6.941, allocations: 8 kB / 2.887 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/6.941, allocations: 96 / 2.887 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/6.941, allocations: 11.97 kB / 2.887 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/6.941, allocations: 47.92 kB / 2.887 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/6.941, allocations: 4.094 kB / 2.887 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/6.942, allocations: 47.66 kB / 2.887 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/6.942, allocations: 8 kB / 2.887 GB, free: 150.4 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/6.942, allocations: 153.7 kB / 2.887 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/6.942, allocations: 31.62 kB / 2.887 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/6.942, allocations: 237.8 kB / 2.888 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/6.942, allocations: 0 / 2.888 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/6.942, allocations: 0 / 2.888 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/6.942, allocations: 0 / 2.888 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/6.943, allocations: 0.7029 MB / 2.888 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/6.944, allocations: 0 / 2.888 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/6.944, allocations: 39.92 kB / 2.888 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/6.944, allocations: 0 / 2.888 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/6.944, allocations: 11.92 kB / 2.888 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/6.944, allocations: 4 kB / 2.888 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/6.944, allocations: 4.047 kB / 2.888 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000682/6.944, allocations: 0.5227 MB / 2.889 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/6.945, allocations: 124.6 kB / 2.889 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/6.945, allocations: 7.953 kB / 2.889 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/6.945, allocations: 23.89 kB / 2.889 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/6.945, allocations: 20.03 kB / 2.889 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/6.945, allocations: 8 kB / 2.889 GB, free: 148.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002058/6.945, allocations: 227 kB / 2.889 GB, free: 148.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/6.945, allocations: 3.938 kB / 2.889 GB, free: 148.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008587/6.946, allocations: 171.9 kB / 2.889 GB, free: 147.9 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002732/6.949, allocations: 2.47 MB / 2.892 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004267/6.949, allocations: 175.8 kB / 2.892 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/6.949, allocations: 0 / 2.892 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/6.949, allocations: 92.45 kB / 2.892 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/6.95, allocations: 161.4 kB / 2.892 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/6.953, allocations: 2.571 MB / 2.895 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/6.953, allocations: 0.7914 MB / 2.896 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002667/6.954, allocations: 58.92 kB / 2.896 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/6.954, allocations: 95.59 kB / 2.896 GB, free: 141.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.21e-07/6.954, allocations: 0 / 2.896 GB, free: 141.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/6.998, allocations: 24.47 MB / 2.92 GB, free: 117 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/6.998, allocations: 219.6 kB / 2.92 GB, free: 116.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/9.981, allocations: 0 / 2.92 GB, free: 116.8 MB / 0.698 GB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)