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.374/1.374, allocations: 249.5 MB / 257 MB, free: 6.867 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.001083/0.001082, allocations: 172.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0007691/0.0007691, allocations: 90.38 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.009e-05, allocations: 11.98 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1624, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.735/4.898, allocations: 2.18 GB / 3.065 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/4.898, allocations: 89.98 kB / 3.065 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8742/5.772, allocations: 232.5 MB / 3.292 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/5.772, allocations: 0 / 3.292 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.09e-05/5.772, allocations: 11.09 kB / 3.292 GB, free: 241.8 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.001151/5.774, allocations: 0.6383 MB / 3.293 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/5.774, allocations: 9.484 kB / 3.293 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/5.775, allocations: 159.5 kB / 3.293 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/5.775, allocations: 332.6 kB / 3.293 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/5.775, allocations: 7.25 kB / 3.293 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/5.775, allocations: 18.34 kB / 3.293 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000316/5.776, allocations: 143.6 kB / 3.294 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/5.776, allocations: 228.6 kB / 3.294 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/5.776, allocations: 1.031 kB / 3.294 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/5.776, allocations: 0 / 3.294 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/5.776, allocations: 6.469 kB / 3.294 GB, free: 241.2 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.001351/5.778, allocations: 1.159 MB / 3.295 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/5.778, allocations: 113.4 kB / 3.295 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/5.778, allocations: 73.42 kB / 3.295 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004589/5.778, allocations: 295.4 kB / 3.295 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/5.778, allocations: 36.73 kB / 3.295 GB, free: 240 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.804e-06/5.778, allocations: 3.438 kB / 3.295 GB, free: 240 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0006819/5.779, allocations: 207 kB / 3.296 GB, free: 240 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/5.779, allocations: 53.44 kB / 3.296 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/5.779, allocations: 210.7 kB / 3.296 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/5.779, allocations: 25.7 kB / 3.296 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/5.78, allocations: 187.4 kB / 3.296 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/5.78, allocations: 60.34 kB / 3.296 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/5.78, allocations: 0 / 3.296 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/5.78, allocations: 335.3 kB / 3.296 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/5.78, allocations: 45.8 kB / 3.296 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/5.78, allocations: 113.7 kB / 3.297 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/5.78, allocations: 91.5 kB / 3.297 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/5.78, allocations: 0.6562 kB / 3.297 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004695/5.781, allocations: 230.7 kB / 3.297 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/5.781, allocations: 9.031 kB / 3.297 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/5.781, allocations: 1.656 kB / 3.297 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/5.781, allocations: 2.469 kB / 3.297 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/5.781, allocations: 53.64 kB / 3.297 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/5.781, allocations: 2.906 kB / 3.297 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/5.781, allocations: 32.66 kB / 3.297 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/5.781, allocations: 9.797 kB / 3.297 GB, free: 239.2 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 6.989e-05/5.781, allocations: 108.3 kB / 3.297 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003797/5.782, allocations: 188 kB / 3.297 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/5.782, allocations: 24.94 kB / 3.297 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/5.782, allocations: 210.2 kB / 3.298 GB, free: 239 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/5.782, allocations: 1.938 kB / 3.298 GB, free: 239 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/5.782, allocations: 0.6094 kB / 3.298 GB, free: 239 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/5.782, allocations: 4.359 kB / 3.298 GB, free: 239 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/5.783, allocations: 0.6348 MB / 3.298 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/5.783, allocations: 4.781 kB / 3.298 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/5.783, allocations: 38.34 kB / 3.298 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/5.783, allocations: 3.344 kB / 3.298 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/5.784, allocations: 6.469 kB / 3.298 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/5.784, allocations: 3.234 kB / 3.298 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/5.784, allocations: 3.484 kB / 3.298 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/5.784, allocations: 486.5 kB / 3.299 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/5.784, allocations: 117.5 kB / 3.299 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/5.784, allocations: 4.047 kB / 3.299 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/5.784, allocations: 15.97 kB / 3.299 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/5.784, allocations: 27.23 kB / 3.299 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/5.785, allocations: 4.172 kB / 3.299 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001153/5.785, allocations: 167 kB / 3.299 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/5.785, allocations: 0 / 3.299 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005881/5.785, allocations: 145.4 kB / 3.299 GB, free: 238.2 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.002511/5.788, allocations: 2.576 MB / 3.302 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002841/5.788, allocations: 129.1 kB / 3.302 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/5.788, allocations: 0 / 3.302 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/5.788, allocations: 73.19 kB / 3.302 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/5.789, allocations: 102.1 kB / 3.302 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/5.79, allocations: 0.4991 MB / 3.302 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/5.79, allocations: 0.7875 MB / 3.303 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000204/5.79, allocations: 53.75 kB / 3.303 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/5.791, allocations: 90.45 kB / 3.303 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/5.791, allocations: 0 / 3.303 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/5.832, allocations: 14.39 MB / 3.317 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/5.833, allocations: 165 kB / 3.318 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/8.05, allocations: 6.094 kB / 3.318 GB, free: 235.4 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)