Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.686/2.686, allocations: 287.3 MB / 302.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 178.8 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 94.88 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007326/0.0007324, allocations: 12.52 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2359, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.102/7.338, allocations: 2.061 GB / 3.039 GB, free: 198.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/7.338, allocations: 93.27 kB / 3.039 GB, free: 198.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.503/8.841, allocations: 243.3 MB / 3.277 GB, free: 278 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.436e-06/8.841, allocations: 1.062 kB / 3.277 GB, free: 278 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.256e-05/8.841, allocations: 11.56 kB / 3.277 GB, free: 278 MB / 0.948 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.002322/8.844, allocations: 0.6843 MB / 3.278 GB, free: 277.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/8.844, allocations: 9.094 kB / 3.278 GB, free: 277.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/8.844, allocations: 58.03 kB / 3.278 GB, free: 277.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/8.847, allocations: 148.2 kB / 3.278 GB, free: 277.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/8.848, allocations: 326.6 kB / 3.278 GB, free: 277.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/8.848, allocations: 20.69 kB / 3.278 GB, free: 277.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/8.848, allocations: 23.47 kB / 3.278 GB, free: 277.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/8.849, allocations: 265 kB / 3.279 GB, free: 277.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/8.849, allocations: 5.156 kB / 3.279 GB, free: 277.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/8.849, allocations: 9 kB / 3.279 GB, free: 277.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/8.849, allocations: 6.125 kB / 3.279 GB, free: 277.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/8.85, allocations: 195.6 kB / 3.279 GB, free: 277.2 MB / 0.948 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.00268/8.853, allocations: 1.22 MB / 3.28 GB, free: 276.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/8.853, allocations: 119.5 kB / 3.28 GB, free: 276.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008988/8.854, allocations: 299 kB / 3.28 GB, free: 276.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/8.854, allocations: 40.09 kB / 3.28 GB, free: 276 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 3.647e-06/8.854, allocations: 0 / 3.28 GB, free: 276 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001659/8.856, allocations: 272.5 kB / 3.281 GB, free: 276 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/8.856, allocations: 56.34 kB / 3.281 GB, free: 275.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/8.857, allocations: 278 kB / 3.281 GB, free: 275.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/8.857, allocations: 29.73 kB / 3.281 GB, free: 275.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/8.857, allocations: 184.3 kB / 3.281 GB, free: 275.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/8.857, allocations: 52.77 kB / 3.281 GB, free: 275.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/8.857, allocations: 0 / 3.281 GB, free: 275.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001171/8.857, allocations: 342.8 kB / 3.282 GB, free: 275.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/8.858, allocations: 67.8 kB / 3.282 GB, free: 275.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/8.858, allocations: 130.5 kB / 3.282 GB, free: 275.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/8.859, allocations: 94.8 kB / 3.282 GB, free: 275.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/8.859, allocations: 0 / 3.282 GB, free: 275.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001094/8.86, allocations: 237.1 kB / 3.282 GB, free: 275.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/8.86, allocations: 10 kB / 3.282 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/8.86, allocations: 1.094 kB / 3.282 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/8.86, allocations: 3.031 kB / 3.282 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/8.86, allocations: 44.77 kB / 3.282 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/8.86, allocations: 2.875 kB / 3.282 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/8.861, allocations: 44.53 kB / 3.282 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/8.861, allocations: 14.53 kB / 3.282 GB, free: 275.2 MB / 0.948 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 (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 0.0002955/8.861, allocations: 151.7 kB / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/8.862, allocations: 32.09 kB / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009965/8.863, allocations: 217.9 kB / 3.283 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/8.863, allocations: 1.75 kB / 3.283 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/8.863, allocations: 0 / 3.283 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/8.863, allocations: 0 / 3.283 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/8.865, allocations: 0.6737 MB / 3.283 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/8.865, allocations: 2.719 kB / 3.283 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/8.865, allocations: 32.88 kB / 3.283 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/8.865, allocations: 3 kB / 3.283 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/8.865, allocations: 6.312 kB / 3.283 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/8.865, allocations: 8.594 kB / 3.283 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/8.865, allocations: 4.797 kB / 3.283 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/8.867, allocations: 0.5004 MB / 3.284 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/8.867, allocations: 126.3 kB / 3.284 GB, free: 274.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/8.867, allocations: 3.188 kB / 3.284 GB, free: 274.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/8.868, allocations: 18.8 kB / 3.284 GB, free: 274.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/8.868, allocations: 26.36 kB / 3.284 GB, free: 274.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/8.868, allocations: 5.562 kB / 3.284 GB, free: 274.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004737/8.868, allocations: 225.3 kB / 3.284 GB, free: 274.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.01e-07/8.868, allocations: 0 / 3.284 GB, free: 274.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001454/8.87, allocations: 167 kB / 3.284 GB, free: 274.2 MB / 0.948 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 (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.004478/8.874, allocations: 2.454 MB / 3.287 GB, free: 272.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001049/8.875, allocations: 172.4 kB / 3.287 GB, free: 272.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/8.876, allocations: 2.594 kB / 3.287 GB, free: 272.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/8.876, allocations: 85.16 kB / 3.287 GB, free: 272.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/8.878, allocations: 163 kB / 3.287 GB, free: 272.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/8.884, allocations: 2.501 MB / 3.29 GB, free: 271.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/8.884, allocations: 0.781 MB / 3.29 GB, free: 270.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005772/8.885, allocations: 61.58 kB / 3.29 GB, free: 270.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/8.885, allocations: 89.94 kB / 3.29 GB, free: 270.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/8.885, allocations: 0 / 3.29 GB, free: 270.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08487/8.97, allocations: 24.27 MB / 3.314 GB, free: 269.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/8.97, allocations: 211.6 kB / 3.314 GB, free: 269.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/12.49, allocations: 7.469 kB / 3.314 GB, free: 269.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)