Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.38/1.38, allocations: 249.5 MB / 257 MB, free: 6.887 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.001047/0.001048, allocations: 176.9 kB / 316.3 MB, free: 3.293 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.361/1.361, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008523/0.0008523, allocations: 92.34 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.689e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1707, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.924/5.095, allocations: 2.18 GB / 3.065 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/5.095, allocations: 86.39 kB / 3.065 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8564/5.952, allocations: 232.4 MB / 3.292 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.312e-06/5.952, allocations: 3.172 kB / 3.292 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.365e-05/5.952, allocations: 7.938 kB / 3.292 GB, free: 250.5 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001022/5.953, allocations: 0.6356 MB / 3.293 GB, free: 250 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/5.953, allocations: 11.69 kB / 3.293 GB, free: 250 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/5.954, allocations: 148.1 kB / 3.293 GB, free: 250 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/5.954, allocations: 318.7 kB / 3.293 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/5.954, allocations: 7.625 kB / 3.293 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/5.955, allocations: 14.66 kB / 3.293 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002495/5.955, allocations: 137.5 kB / 3.293 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/5.955, allocations: 226.8 kB / 3.293 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/5.955, allocations: 0 / 3.293 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/5.955, allocations: 3.312 kB / 3.293 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/5.955, allocations: 3.344 kB / 3.293 GB, free: 249.7 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.001078/5.956, allocations: 1.156 MB / 3.295 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/5.956, allocations: 98.2 kB / 3.295 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/5.956, allocations: 67.7 kB / 3.295 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/5.957, allocations: 297 kB / 3.295 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/5.957, allocations: 33.88 kB / 3.295 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/5.957, allocations: 0 / 3.295 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0005545/5.957, allocations: 196.3 kB / 3.295 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/5.958, allocations: 51.41 kB / 3.295 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/5.958, allocations: 212.8 kB / 3.295 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/5.958, allocations: 29.27 kB / 3.296 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/5.958, allocations: 182.5 kB / 3.296 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/5.958, allocations: 51.56 kB / 3.296 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/5.958, allocations: 0 / 3.296 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/5.958, allocations: 335.7 kB / 3.296 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/5.958, allocations: 49.34 kB / 3.296 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/5.958, allocations: 103.5 kB / 3.296 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/5.958, allocations: 86.3 kB / 3.296 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/5.958, allocations: 3.5 kB / 3.296 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003395/5.959, allocations: 216.6 kB / 3.297 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/5.959, allocations: 7.438 kB / 3.297 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/5.959, allocations: 0 / 3.297 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/5.959, allocations: 3.906 kB / 3.297 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/5.959, allocations: 47.88 kB / 3.297 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/5.959, allocations: 6.875 kB / 3.297 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/5.959, allocations: 28.78 kB / 3.297 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/5.959, allocations: 11.62 kB / 3.297 GB, free: 247.8 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 (22): * Single equations (assignments): 22 * 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.394e-05/5.959, allocations: 112.4 kB / 3.297 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002928/5.96, allocations: 178.7 kB / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/5.96, allocations: 22.12 kB / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/5.96, allocations: 199 kB / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/5.96, allocations: 0 / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/5.96, allocations: 0 / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/5.96, allocations: 0 / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/5.961, allocations: 0.6162 MB / 3.298 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/5.961, allocations: 3.391 kB / 3.298 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/5.961, allocations: 37.44 kB / 3.298 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/5.961, allocations: 3.812 kB / 3.298 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/5.961, allocations: 3.781 kB / 3.298 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/5.961, allocations: 0 / 3.298 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/5.961, allocations: 3.938 kB / 3.298 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/5.961, allocations: 472.7 kB / 3.298 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/5.962, allocations: 114 kB / 3.298 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/5.962, allocations: 10.89 kB / 3.298 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/5.962, allocations: 19.02 kB / 3.298 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/5.962, allocations: 18.92 kB / 3.298 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/5.962, allocations: 7.719 kB / 3.298 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001112/5.962, allocations: 166.3 kB / 3.299 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/5.962, allocations: 0 / 3.299 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005898/5.963, allocations: 146.3 kB / 3.299 GB, free: 246.7 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 (15): * Single equations (assignments): 15 * 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.002048/5.965, allocations: 2.557 MB / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002393/5.965, allocations: 118.1 kB / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/5.965, allocations: 3.875 kB / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/5.965, allocations: 63.78 kB / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/5.966, allocations: 110.7 kB / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/5.967, allocations: 0.4884 MB / 3.302 GB, free: 245 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/5.967, allocations: 0.7876 MB / 3.303 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000169/5.967, allocations: 43.56 kB / 3.303 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/5.967, allocations: 88.39 kB / 3.303 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/5.967, allocations: 7.062 kB / 3.303 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/5.999, allocations: 14.23 MB / 3.317 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/5.999, allocations: 171.2 kB / 3.317 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/8.165, allocations: 0 / 3.317 GB, free: 243.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)