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.443/1.443, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.001011/0.001011, allocations: 168.9 kB / 321.3 MB, free: 14.65 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.61/1.61, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.000803/0.0008029, allocations: 86.53 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.425e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2231, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.422/5.645, allocations: 2.179 GB / 3.071 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/5.646, allocations: 79.95 kB / 3.071 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.244/6.89, allocations: 235.4 MB / 3.301 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/6.89, allocations: 0 / 3.301 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.464e-05/6.89, allocations: 7.844 kB / 3.301 GB, free: 245.6 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.0009634/6.891, allocations: 0.6386 MB / 3.302 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/6.891, allocations: 11.19 kB / 3.302 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/6.891, allocations: 59.06 kB / 3.302 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/6.892, allocations: 146 kB / 3.302 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/6.892, allocations: 332 kB / 3.302 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/6.892, allocations: 15.97 kB / 3.302 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/6.892, allocations: 22.38 kB / 3.302 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/6.893, allocations: 245.9 kB / 3.303 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/6.893, allocations: 9.016 kB / 3.303 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/6.893, allocations: 9.875 kB / 3.303 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/6.893, allocations: 7.219 kB / 3.303 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/6.893, allocations: 161.3 kB / 3.303 GB, free: 244.8 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.001141/6.894, allocations: 1.209 MB / 3.304 GB, free: 244 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/6.894, allocations: 112.4 kB / 3.304 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/6.894, allocations: 66.77 kB / 3.304 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/6.895, allocations: 298.8 kB / 3.305 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/6.895, allocations: 36.48 kB / 3.305 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/6.895, allocations: 0 / 3.305 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004375/6.895, allocations: 172.9 kB / 3.305 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/6.895, allocations: 55.22 kB / 3.305 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/6.896, allocations: 285.8 kB / 3.305 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/6.896, allocations: 33.55 kB / 3.305 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/6.896, allocations: 174.6 kB / 3.305 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/6.896, allocations: 58.41 kB / 3.305 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/6.896, allocations: 3.281 kB / 3.305 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/6.896, allocations: 347 kB / 3.306 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/6.896, allocations: 47.8 kB / 3.306 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/6.896, allocations: 110.8 kB / 3.306 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.524e-05/6.896, allocations: 61.56 kB / 3.306 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/6.896, allocations: 0 / 3.306 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002737/6.896, allocations: 200.5 kB / 3.306 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/6.897, allocations: 3.906 kB / 3.306 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/6.897, allocations: 7.781 kB / 3.306 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/6.897, allocations: 0 / 3.306 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/6.897, allocations: 41.53 kB / 3.306 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/6.897, allocations: 11.77 kB / 3.306 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/6.897, allocations: 36.17 kB / 3.306 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/6.897, allocations: 10.62 kB / 3.306 GB, free: 242.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.467e-05/6.897, allocations: 126.2 kB / 3.306 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/6.897, allocations: 27.16 kB / 3.306 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/6.897, allocations: 182.3 kB / 3.306 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/6.897, allocations: 7.781 kB / 3.306 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/6.897, allocations: 3.25 kB / 3.306 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/6.897, allocations: 0 / 3.306 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/6.898, allocations: 0.6396 MB / 3.307 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/6.898, allocations: 0 / 3.307 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/6.898, allocations: 38.5 kB / 3.307 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/6.898, allocations: 3.375 kB / 3.307 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/6.898, allocations: 6.25 kB / 3.307 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/6.898, allocations: 7 kB / 3.307 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/6.898, allocations: 6.578 kB / 3.307 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/6.899, allocations: 453 kB / 3.308 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/6.899, allocations: 122.6 kB / 3.308 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/6.899, allocations: 6.5 kB / 3.308 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/6.899, allocations: 22.42 kB / 3.308 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/6.899, allocations: 15.14 kB / 3.308 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/6.899, allocations: 10.48 kB / 3.308 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001654/6.899, allocations: 225.6 kB / 3.308 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.899, allocations: 2.531 kB / 3.308 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006422/6.9, allocations: 172.1 kB / 3.308 GB, free: 241.8 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.001963/6.902, allocations: 2.403 MB / 3.31 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000257/6.902, allocations: 135.2 kB / 3.311 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/6.902, allocations: 0 / 3.311 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/6.902, allocations: 76.86 kB / 3.311 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007707/6.903, allocations: 152.5 kB / 3.311 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009593/6.904, allocations: 0.505 MB / 3.311 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/6.904, allocations: 0.7811 MB / 3.312 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002093/6.905, allocations: 67.41 kB / 3.312 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/6.905, allocations: 89.19 kB / 3.312 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of SimCode: time 7.22e-07/6.905, allocations: 0 / 3.312 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04617/6.951, allocations: 27.17 MB / 3.339 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/6.951, allocations: 196.6 kB / 3.339 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/9.727, allocations: 0 / 3.339 GB, free: 237.6 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)