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.836/1.836, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.001039/0.001039, allocations: 186.7 kB / 372 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.823/1.823, allocations: 205.4 MB / 0.6307 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.0008518/0.000852, allocations: 95.8 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005695, allocations: 16.89 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2976, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.9001/1.198, allocations: 152 MB / 1.128 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003057/1.201, allocations: 1.469 MB / 1.13 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/1.201, allocations: 13.5 kB / 1.13 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004866/1.202, allocations: 107.6 kB / 1.13 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/1.204, allocations: 0.5052 MB / 1.13 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/1.205, allocations: 451.6 kB / 1.131 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001075/1.206, allocations: 0.8307 MB / 1.131 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/1.207, allocations: 175.4 kB / 1.132 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/1.207, allocations: 308.2 kB / 1.132 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/1.208, allocations: 212.4 kB / 1.132 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/1.208, allocations: 13.34 kB / 1.132 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/1.209, allocations: 463.2 kB / 1.133 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/1.209, allocations: 102.2 kB / 1.133 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/1.209, allocations: 81.08 kB / 1.133 GB, free: 16.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/1.21, allocations: 445.1 kB / 1.133 GB, free: 16.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.21, allocations: 3.938 kB / 1.133 GB, free: 16.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.406e-06/1.21, allocations: 3.312 kB / 1.133 GB, free: 16.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.21, allocations: 0 / 1.133 GB, free: 16.72 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.0009662/1.211, allocations: 0.5916 MB / 1.134 GB, free: 16.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.211, allocations: 12.62 kB / 1.134 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.832e-05/1.211, allocations: 58.12 kB / 1.134 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/1.212, allocations: 157 kB / 1.134 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/1.212, allocations: 297.8 kB / 1.134 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/1.213, allocations: 16.28 kB / 1.134 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/1.213, allocations: 21.03 kB / 1.134 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/1.213, allocations: 283 kB / 1.135 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.213, allocations: 0 / 1.135 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/1.213, allocations: 9.469 kB / 1.135 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/1.213, allocations: 10.45 kB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/1.214, allocations: 203.5 kB / 1.135 GB, free: 15.86 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.001574/1.215, allocations: 1.221 MB / 1.136 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/1.216, allocations: 145.6 kB / 1.136 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/1.216, allocations: 91.42 kB / 1.136 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/1.216, allocations: 315.5 kB / 1.136 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.216, allocations: 40.28 kB / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/1.216, allocations: 4 kB / 1.136 GB, free: 14.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0007948/1.217, allocations: 299.2 kB / 1.137 GB, free: 14.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/1.217, allocations: 51.41 kB / 1.137 GB, free: 14.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/1.218, allocations: 309.7 kB / 1.137 GB, free: 14.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/1.218, allocations: 31.77 kB / 1.137 GB, free: 14.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/1.218, allocations: 182.5 kB / 1.137 GB, free: 14.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/1.218, allocations: 55 kB / 1.137 GB, free: 14.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/1.218, allocations: 3.25 kB / 1.137 GB, free: 14.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.218, allocations: 341.5 kB / 1.138 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/1.218, allocations: 72.48 kB / 1.138 GB, free: 13.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/1.219, allocations: 130.8 kB / 1.138 GB, free: 13.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/1.219, allocations: 81.17 kB / 1.138 GB, free: 13.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.219, allocations: 2.969 kB / 1.138 GB, free: 13.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004784/1.219, allocations: 253 kB / 1.138 GB, free: 13.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.219, allocations: 7.875 kB / 1.138 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.219, allocations: 2.906 kB / 1.138 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.219, allocations: 2.906 kB / 1.138 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/1.22, allocations: 45.91 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.22, allocations: 1.406 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/1.22, allocations: 36.11 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/1.22, allocations: 10.84 kB / 1.138 GB, free: 13.78 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.0001636/1.22, allocations: 159.4 kB / 1.138 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/1.22, allocations: 32.81 kB / 1.139 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/1.221, allocations: 227.1 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.221, allocations: 2.031 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.221, allocations: 0 / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.221, allocations: 0 / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/1.222, allocations: 0.6972 MB / 1.139 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.222, allocations: 6.031 kB / 1.139 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.222, allocations: 36.52 kB / 1.139 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.222, allocations: 2.656 kB / 1.139 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/1.222, allocations: 3.906 kB / 1.139 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/1.222, allocations: 6.797 kB / 1.139 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.222, allocations: 7.125 kB / 1.139 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/1.223, allocations: 452.3 kB / 1.14 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/1.223, allocations: 122.9 kB / 1.14 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/1.223, allocations: 2.906 kB / 1.14 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/1.223, allocations: 26.62 kB / 1.14 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/1.223, allocations: 20.38 kB / 1.14 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/1.223, allocations: 7.109 kB / 1.14 GB, free: 12.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002528/1.223, allocations: 222.7 kB / 1.14 GB, free: 12.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.223, allocations: 0 / 1.14 GB, free: 12.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004306/1.224, allocations: 78.64 kB / 1.14 GB, free: 12.78 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.00144/1.225, allocations: 1.031 MB / 1.141 GB, free: 12.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004846/1.226, allocations: 183.5 kB / 1.142 GB, free: 12.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.226, allocations: 1.031 kB / 1.142 GB, free: 12.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/1.226, allocations: 95.98 kB / 1.142 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009534/1.227, allocations: 157.9 kB / 1.142 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/1.23, allocations: 1.79 MB / 1.144 GB, free: 11.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/1.231, allocations: 0.7748 MB / 1.144 GB, free: 10.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003097/1.231, allocations: 74.7 kB / 1.144 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/1.231, allocations: 92 kB / 1.144 GB, free: 10.23 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/1.231, allocations: 0 / 1.144 GB, free: 10.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/1.26, allocations: 8.24 MB / 1.152 GB, free: 6.281 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/1.261, allocations: 232.6 kB / 1.153 GB, free: 6.039 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.576, allocations: 0 / 1.153 GB, free: 6.039 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)