Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001228, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 188.3 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 222.5 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 76.59 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2235, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6221/0.8457, allocations: 167.4 MB / 0.9471 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.8485, allocations: 1.547 MB / 0.9486 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.8488, allocations: 11.16 kB / 0.9486 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.8493, allocations: 145.2 kB / 0.9487 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.8511, allocations: 0.7084 MB / 0.9494 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.8528, allocations: 0.5997 MB / 0.95 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00112/0.8539, allocations: 0.6978 MB / 0.9507 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.8544, allocations: 233.5 kB / 0.9509 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/0.8552, allocations: 344 kB / 0.9512 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.8556, allocations: 218 kB / 0.9515 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/0.8556, allocations: 22.25 kB / 0.9515 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.8573, allocations: 0.868 MB / 0.9523 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.8575, allocations: 110.9 kB / 0.9524 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.8577, allocations: 168.4 kB / 0.9526 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.8588, allocations: 0.7175 MB / 0.9533 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.8588, allocations: 8.062 kB / 0.9533 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8588, allocations: 0 / 0.9533 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.8588, allocations: 0 / 0.9533 GB, free: 1.023 MB / 0.7169 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.0009428/0.8597, allocations: 0.6424 MB / 0.9539 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8598, allocations: 9.688 kB / 0.9539 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.345e-05/0.8599, allocations: 67.72 kB / 0.954 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.861, allocations: 155.6 kB / 0.9541 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.8615, allocations: 315 kB / 0.9544 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.8616, allocations: 20.47 kB / 0.9545 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.8616, allocations: 21.69 kB / 0.9545 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.8621, allocations: 279.9 kB / 0.9548 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8621, allocations: 1.188 kB / 0.9548 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.8621, allocations: 13.92 kB / 0.9548 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.8622, allocations: 11.92 kB / 0.9548 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.8626, allocations: 189.6 kB / 0.955 GB, free: 16.14 MB / 0.7325 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.001362/0.8639, allocations: 1.209 MB / 0.9561 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.8642, allocations: 136.3 kB / 0.9563 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.8644, allocations: 92.38 kB / 0.9564 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005621/0.865, allocations: 305.3 kB / 0.9567 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.865, allocations: 37.06 kB / 0.9567 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.865, allocations: 0 / 0.9567 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007514/0.8658, allocations: 290.1 kB / 0.957 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.8658, allocations: 52.53 kB / 0.957 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.8661, allocations: 312.9 kB / 0.9573 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.8662, allocations: 27.77 kB / 0.9573 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.8663, allocations: 183.4 kB / 0.9575 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.8663, allocations: 50.66 kB / 0.9576 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.8664, allocations: 52.75 kB / 0.9576 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8666, allocations: 336.5 kB / 0.9579 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.8667, allocations: 70.23 kB / 0.958 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.8669, allocations: 119.7 kB / 0.9581 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.8673, allocations: 199 kB / 0.9583 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8673, allocations: 1.156 kB / 0.9583 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000433/0.8677, allocations: 241.2 kB / 0.9585 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8677, allocations: 5.219 kB / 0.9585 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.8678, allocations: 1.125 kB / 0.9585 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.8678, allocations: 4.328 kB / 0.9585 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.868, allocations: 38.36 kB / 0.9586 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.868, allocations: 6.156 kB / 0.9586 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.8682, allocations: 33.88 kB / 0.9586 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.8682, allocations: 12.06 kB / 0.9586 GB, free: 14 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.8684, allocations: 156.7 kB / 0.9588 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.8685, allocations: 28.53 kB / 0.9588 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.8689, allocations: 215.6 kB / 0.959 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8689, allocations: 3.719 kB / 0.959 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8689, allocations: 1.125 kB / 0.959 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8689, allocations: 0 / 0.959 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009574/0.8699, allocations: 0.6927 MB / 0.9597 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8699, allocations: 5.719 kB / 0.9597 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.8701, allocations: 33.5 kB / 0.9597 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8701, allocations: 6.594 kB / 0.9597 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.8701, allocations: 2.781 kB / 0.9597 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.8701, allocations: 5.344 kB / 0.9597 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8701, allocations: 2.812 kB / 0.9597 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.8708, allocations: 426.9 kB / 0.9602 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.8709, allocations: 128.9 kB / 0.9603 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.8709, allocations: 13.81 kB / 0.9603 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.8711, allocations: 11.41 kB / 0.9603 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.8712, allocations: 15.09 kB / 0.9603 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.8712, allocations: 11.25 kB / 0.9603 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002074/0.8714, allocations: 224.2 kB / 0.9605 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8714, allocations: 0 / 0.9605 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004184/0.8718, allocations: 80.78 kB / 0.9606 GB, free: 13.01 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.873, allocations: 1.02 MB / 0.9616 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.8734, allocations: 179.5 kB / 0.9618 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8734, allocations: 1.656 kB / 0.9618 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.8736, allocations: 85.23 kB / 0.9619 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008789/0.8745, allocations: 174.1 kB / 0.962 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.8781, allocations: 2.896 MB / 0.9649 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.8785, allocations: 0.7709 MB / 0.9656 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002344/0.8788, allocations: 65.33 kB / 0.9657 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.8789, allocations: 87.84 kB / 0.9658 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.8789, allocations: 0 / 0.9658 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.9062, allocations: 8.758 MB / 0.9743 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.74, allocations: 17.64 kB / 0.9743 GB, free: 7.238 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)