Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001572/0.001572, allocations: 177 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.0009519/0.0009518, allocations: 106.2 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 13.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2831, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.188/6.471, allocations: 2.061 GB / 3.041 GB, free: 210.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003792/6.472, allocations: 94.88 kB / 3.041 GB, free: 210.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.155/7.626, allocations: 243.3 MB / 3.278 GB, free: 275 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/7.626, allocations: 0 / 3.278 GB, free: 275 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.711e-05/7.626, allocations: 11.38 kB / 3.278 GB, free: 275 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.001534/7.628, allocations: 0.6861 MB / 3.279 GB, free: 274.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 9.393e-05/7.628, allocations: 9.406 kB / 3.279 GB, free: 274.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.426e-05/7.628, allocations: 53.34 kB / 3.279 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/7.629, allocations: 155 kB / 3.279 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/7.63, allocations: 313.7 kB / 3.28 GB, free: 274.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/7.63, allocations: 24.2 kB / 3.28 GB, free: 274.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/7.63, allocations: 21.44 kB / 3.28 GB, free: 274.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/7.63, allocations: 272.4 kB / 3.28 GB, free: 274.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/7.63, allocations: 0 / 3.28 GB, free: 274.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/7.63, allocations: 6.094 kB / 3.28 GB, free: 274.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/7.63, allocations: 5.844 kB / 3.28 GB, free: 274.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/7.631, allocations: 199.3 kB / 3.28 GB, free: 274.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.001565/7.632, allocations: 1.21 MB / 3.281 GB, free: 273.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/7.633, allocations: 128.2 kB / 3.281 GB, free: 273.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/7.633, allocations: 294.3 kB / 3.282 GB, free: 273.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/7.633, allocations: 44.41 kB / 3.282 GB, free: 273.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/7.633, allocations: 1.125 kB / 3.282 GB, free: 273.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0008413/7.634, allocations: 273.5 kB / 3.282 GB, free: 273 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/7.634, allocations: 53.91 kB / 3.282 GB, free: 273 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/7.635, allocations: 280.3 kB / 3.282 GB, free: 272.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/7.635, allocations: 29.58 kB / 3.282 GB, free: 272.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/7.635, allocations: 185.3 kB / 3.283 GB, free: 272.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/7.635, allocations: 47.55 kB / 3.283 GB, free: 272.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/7.635, allocations: 8.188 kB / 3.283 GB, free: 272.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/7.635, allocations: 340.5 kB / 3.283 GB, free: 272.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/7.635, allocations: 64.55 kB / 3.283 GB, free: 272.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/7.635, allocations: 132.5 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/7.636, allocations: 84.64 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/7.636, allocations: 1.469 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005036/7.636, allocations: 237.6 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/7.636, allocations: 6.875 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/7.636, allocations: 2.156 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/7.636, allocations: 2 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/7.636, allocations: 50.06 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/7.636, allocations: 2.594 kB / 3.283 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/7.637, allocations: 43.11 kB / 3.284 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/7.637, allocations: 12.09 kB / 3.284 GB, free: 272.3 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.0001501/7.637, allocations: 147.4 kB / 3.284 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/7.637, allocations: 36.64 kB / 3.284 GB, free: 272.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/7.637, allocations: 216.3 kB / 3.284 GB, free: 272.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/7.637, allocations: 5.156 kB / 3.284 GB, free: 272.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/7.637, allocations: 3.062 kB / 3.284 GB, free: 272.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/7.637, allocations: 0 / 3.284 GB, free: 272.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/7.638, allocations: 0.6737 MB / 3.285 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/7.638, allocations: 7.672 kB / 3.285 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/7.639, allocations: 38.91 kB / 3.285 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/7.639, allocations: 2.062 kB / 3.285 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/7.639, allocations: 4.031 kB / 3.285 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/7.639, allocations: 2.188 kB / 3.285 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/7.639, allocations: 2.125 kB / 3.285 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/7.639, allocations: 0.501 MB / 3.285 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/7.64, allocations: 120.4 kB / 3.285 GB, free: 271.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/7.64, allocations: 9.625 kB / 3.285 GB, free: 271.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/7.64, allocations: 22.23 kB / 3.285 GB, free: 271.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/7.64, allocations: 17.12 kB / 3.285 GB, free: 271.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/7.64, allocations: 6.094 kB / 3.285 GB, free: 271.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002284/7.64, allocations: 224.5 kB / 3.285 GB, free: 271.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/7.64, allocations: 3.062 kB / 3.285 GB, free: 271.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008875/7.641, allocations: 169.6 kB / 3.286 GB, free: 271.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.003263/7.644, allocations: 2.462 MB / 3.288 GB, free: 269.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005404/7.645, allocations: 172.6 kB / 3.288 GB, free: 269.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/7.645, allocations: 3.938 kB / 3.288 GB, free: 269.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/7.645, allocations: 82.44 kB / 3.288 GB, free: 269.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008507/7.646, allocations: 155.5 kB / 3.288 GB, free: 269.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/7.649, allocations: 2.502 MB / 3.291 GB, free: 268.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/7.649, allocations: 0.782 MB / 3.292 GB, free: 267.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002917/7.65, allocations: 62.77 kB / 3.292 GB, free: 267.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/7.65, allocations: 88.59 kB / 3.292 GB, free: 267.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/7.65, allocations: 0 / 3.292 GB, free: 267.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05253/7.702, allocations: 24.28 MB / 3.316 GB, free: 266.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/7.703, allocations: 226.6 kB / 3.316 GB, free: 266.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/10.52, allocations: 0 / 3.316 GB, free: 266.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)