Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 172.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008533/0.0008535, allocations: 89.23 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.274e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.502/5.7, allocations: 2.18 GB / 3.071 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/5.701, allocations: 83.95 kB / 3.072 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.014/6.715, allocations: 235.5 MB / 3.302 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/6.715, allocations: 0 / 3.302 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.974e-05/6.715, allocations: 9.938 kB / 3.302 GB, free: 245.3 MB / 0.8698 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.001199/6.716, allocations: 0.6429 MB / 3.302 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/6.716, allocations: 13.62 kB / 3.302 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.148e-05/6.716, allocations: 57.81 kB / 3.302 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/6.718, allocations: 154.2 kB / 3.302 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/6.718, allocations: 321.5 kB / 3.303 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/6.718, allocations: 23.25 kB / 3.303 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/6.718, allocations: 24.81 kB / 3.303 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/6.719, allocations: 257.2 kB / 3.303 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/6.719, allocations: 0 / 3.303 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/6.719, allocations: 12.47 kB / 3.303 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/6.719, allocations: 5.469 kB / 3.303 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/6.719, allocations: 172.7 kB / 3.303 GB, free: 244.5 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001421/6.72, allocations: 1.222 MB / 3.304 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/6.721, allocations: 120.6 kB / 3.305 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/6.721, allocations: 71.12 kB / 3.305 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004771/6.721, allocations: 307.3 kB / 3.305 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/6.721, allocations: 33.62 kB / 3.305 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.994e-06/6.721, allocations: 0 / 3.305 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0005107/6.722, allocations: 190.4 kB / 3.305 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/6.722, allocations: 55.38 kB / 3.305 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/6.722, allocations: 279.2 kB / 3.305 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/6.722, allocations: 32.95 kB / 3.305 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/6.722, allocations: 184.3 kB / 3.306 GB, free: 243 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/6.722, allocations: 60.36 kB / 3.306 GB, free: 243 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/6.722, allocations: 5.594 kB / 3.306 GB, free: 243 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/6.722, allocations: 342.8 kB / 3.306 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/6.722, allocations: 50.08 kB / 3.306 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/6.723, allocations: 119.7 kB / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/6.723, allocations: 58.14 kB / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/6.723, allocations: 0 / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002963/6.723, allocations: 221.4 kB / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/6.723, allocations: 5.125 kB / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/6.723, allocations: 7.828 kB / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/6.723, allocations: 0 / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/6.723, allocations: 53.78 kB / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/6.723, allocations: 7.844 kB / 3.306 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/6.724, allocations: 39.62 kB / 3.307 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/6.724, allocations: 10.41 kB / 3.307 GB, free: 242.6 MB / 0.8698 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 () * 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 7.478e-05/6.724, allocations: 121.2 kB / 3.307 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/6.724, allocations: 31.16 kB / 3.307 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/6.724, allocations: 196.6 kB / 3.307 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/6.724, allocations: 3.875 kB / 3.307 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/6.724, allocations: 0 / 3.307 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/6.724, allocations: 0 / 3.307 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008088/6.725, allocations: 0.6585 MB / 3.308 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/6.725, allocations: 3.25 kB / 3.308 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/6.725, allocations: 39.53 kB / 3.308 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/6.725, allocations: 7.406 kB / 3.308 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/6.725, allocations: 8.312 kB / 3.308 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/6.725, allocations: 7.781 kB / 3.308 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/6.725, allocations: 3.953 kB / 3.308 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/6.726, allocations: 472.2 kB / 3.308 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/6.726, allocations: 121.2 kB / 3.308 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/6.726, allocations: 11.02 kB / 3.308 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/6.726, allocations: 21.73 kB / 3.308 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/6.726, allocations: 15.06 kB / 3.308 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/6.726, allocations: 11.09 kB / 3.308 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001888/6.726, allocations: 222 kB / 3.308 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/6.726, allocations: 0 / 3.308 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006884/6.727, allocations: 181.9 kB / 3.309 GB, free: 241.5 MB / 0.8698 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 () * 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.00206/6.729, allocations: 2.42 MB / 3.311 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002968/6.729, allocations: 155 kB / 3.311 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/6.729, allocations: 0 / 3.311 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/6.729, allocations: 72.06 kB / 3.311 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/6.73, allocations: 152.2 kB / 3.311 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/6.731, allocations: 0.5289 MB / 3.312 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/6.731, allocations: 0.7905 MB / 3.313 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002335/6.732, allocations: 60.88 kB / 3.313 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/6.732, allocations: 94.73 kB / 3.313 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/6.732, allocations: 0 / 3.313 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/6.776, allocations: 27.33 MB / 3.339 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/6.776, allocations: 195 kB / 3.34 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/9.703, allocations: 0 / 3.34 GB, free: 237.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)