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.74/1.74, allocations: 288.2 MB / 303.2 MB, free: 8.035 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.001185/0.001185, allocations: 179.2 kB / 371.8 MB, free: 10.28 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.905/1.905, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001283/0.001283, allocations: 98.84 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004093, allocations: 12.53 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2456, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7473/0.9929, allocations: 140.2 MB / 1.116 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.9958, allocations: 1.577 MB / 1.118 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/0.9964, allocations: 13.22 kB / 1.118 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007677/0.9971, allocations: 175 kB / 1.118 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.9991, allocations: 0.5107 MB / 1.119 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/1.001, allocations: 482.5 kB / 1.119 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007692/1.002, allocations: 435.6 kB / 1.119 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/1.002, allocations: 183.6 kB / 1.12 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/1.003, allocations: 336 kB / 1.12 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/1.003, allocations: 155.7 kB / 1.12 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/1.003, allocations: 13.69 kB / 1.12 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/1.004, allocations: 420.9 kB / 1.12 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/1.004, allocations: 94.05 kB / 1.121 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/1.004, allocations: 80.45 kB / 1.121 GB, free: 17.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005451/1.005, allocations: 395.6 kB / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/1.005, allocations: 0 / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/1.005, allocations: 2.953 kB / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.281e-05/1.005, allocations: 0 / 1.121 GB, free: 17.2 MB / 0.698 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.0008923/1.006, allocations: 0.5947 MB / 1.122 GB, free: 16.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.006, allocations: 9.094 kB / 1.122 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/1.006, allocations: 56.55 kB / 1.122 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/1.007, allocations: 163.2 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/1.007, allocations: 294.8 kB / 1.122 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.007, allocations: 20.84 kB / 1.122 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/1.008, allocations: 23.06 kB / 1.122 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/1.008, allocations: 275.9 kB / 1.122 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.008, allocations: 6.656 kB / 1.122 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/1.008, allocations: 16 kB / 1.122 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/1.008, allocations: 9.203 kB / 1.122 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/1.008, allocations: 197.4 kB / 1.123 GB, free: 16.34 MB / 0.698 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.001426/1.01, allocations: 1.223 MB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/1.01, allocations: 136.2 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/1.011, allocations: 138.5 kB / 1.124 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/1.011, allocations: 37.72 kB / 1.124 GB, free: 15.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/1.011, allocations: 4 kB / 1.124 GB, free: 15.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0008282/1.012, allocations: 295.3 kB / 1.124 GB, free: 15.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.012, allocations: 57.34 kB / 1.124 GB, free: 15.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/1.012, allocations: 311.4 kB / 1.125 GB, free: 15.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/1.012, allocations: 29.95 kB / 1.125 GB, free: 15.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/1.012, allocations: 177.5 kB / 1.125 GB, free: 14.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/1.012, allocations: 57.42 kB / 1.125 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/1.012, allocations: 5.969 kB / 1.125 GB, free: 14.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.012, allocations: 343.4 kB / 1.125 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/1.013, allocations: 73.61 kB / 1.125 GB, free: 14.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/1.013, allocations: 123.3 kB / 1.126 GB, free: 14.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/1.013, allocations: 85 kB / 1.126 GB, free: 14.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.013, allocations: 3.438 kB / 1.126 GB, free: 14.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004899/1.013, allocations: 256.6 kB / 1.126 GB, free: 14.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.013, allocations: 6.797 kB / 1.126 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.014, allocations: 2.5 kB / 1.126 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.014, allocations: 1.656 kB / 1.126 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/1.014, allocations: 46.95 kB / 1.126 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.014, allocations: 5.047 kB / 1.126 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/1.014, allocations: 36.72 kB / 1.126 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/1.014, allocations: 7.672 kB / 1.126 GB, free: 14.46 MB / 0.698 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.0001659/1.014, allocations: 155.2 kB / 1.126 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/1.014, allocations: 34.7 kB / 1.126 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/1.015, allocations: 229.4 kB / 1.126 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.015, allocations: 3.094 kB / 1.126 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.015, allocations: 1.859 kB / 1.126 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.015, allocations: 0 / 1.126 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/1.016, allocations: 0.693 MB / 1.127 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.016, allocations: 11.12 kB / 1.127 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/1.016, allocations: 34.44 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.016, allocations: 2.625 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/1.016, allocations: 10.33 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/1.016, allocations: 6.797 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.016, allocations: 6.875 kB / 1.127 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/1.017, allocations: 0.518 MB / 1.128 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.017, allocations: 117.3 kB / 1.128 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/1.017, allocations: 15.69 kB / 1.128 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/1.018, allocations: 16.38 kB / 1.128 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/1.018, allocations: 16.53 kB / 1.128 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/1.018, allocations: 11.14 kB / 1.128 GB, free: 13.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002212/1.018, allocations: 227.1 kB / 1.128 GB, free: 13.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0 / 1.128 GB, free: 13.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004464/1.018, allocations: 70.94 kB / 1.128 GB, free: 13.34 MB / 0.698 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.001708/1.02, allocations: 1.606 MB / 1.13 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000433/1.02, allocations: 185.9 kB / 1.13 GB, free: 11.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.02, allocations: 0 / 1.13 GB, free: 11.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/1.021, allocations: 92.95 kB / 1.13 GB, free: 11.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/1.022, allocations: 160 kB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/1.025, allocations: 2.514 MB / 1.133 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/1.025, allocations: 0.7872 MB / 1.133 GB, free: 9.734 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003184/1.026, allocations: 64.17 kB / 1.133 GB, free: 9.723 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/1.026, allocations: 86.52 kB / 1.133 GB, free: 9.715 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/1.026, allocations: 0 / 1.133 GB, free: 9.715 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/1.053, allocations: 8.235 MB / 1.141 GB, free: 6.062 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.053, allocations: 225.7 kB / 1.142 GB, free: 5.824 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/3.307, allocations: 0 / 1.142 GB, free: 5.824 MB / 0.698 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)