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.001525/0.001525, allocations: 108 kB / 15.6 MB, free: 132 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.001767/0.001767, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.635/1.635, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.774/1.774, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001472/0.001472, allocations: 72.66 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2602, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8026/1.063, allocations: 167.4 MB / 0.9469 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003052/1.066, allocations: 1.545 MB / 0.9484 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/1.066, allocations: 12.22 kB / 0.9484 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005567/1.067, allocations: 147.3 kB / 0.9486 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/1.069, allocations: 0.7106 MB / 0.9493 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/1.071, allocations: 0.5941 MB / 0.9498 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001569/1.073, allocations: 0.701 MB / 0.9505 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/1.073, allocations: 236.4 kB / 0.9508 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/1.074, allocations: 334.5 kB / 0.9511 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/1.075, allocations: 221.7 kB / 0.9513 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/1.075, allocations: 23.5 kB / 0.9513 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/1.077, allocations: 0.8636 MB / 0.9521 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/1.078, allocations: 110.3 kB / 0.9523 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002721/1.078, allocations: 160.9 kB / 0.9524 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/1.08, allocations: 0.7234 MB / 0.9531 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.08, allocations: 4 kB / 0.9531 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/1.08, allocations: 0.9062 kB / 0.9531 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.14e-05/1.08, allocations: 0 / 0.9531 GB, free: 0.9531 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.00107/1.081, allocations: 0.6461 MB / 0.9537 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.081, allocations: 8.906 kB / 0.9538 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.524e-05/1.081, allocations: 58.8 kB / 0.9538 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.082, allocations: 155.2 kB / 0.954 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/1.082, allocations: 309.4 kB / 0.9543 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/1.082, allocations: 17.03 kB / 0.9543 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/1.082, allocations: 21.47 kB / 0.9543 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/1.083, allocations: 277.5 kB / 0.9546 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.083, allocations: 3.938 kB / 0.9546 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/1.083, allocations: 17.06 kB / 0.9546 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.083, allocations: 7.438 kB / 0.9546 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/1.084, allocations: 190.4 kB / 0.9548 GB, free: 16.08 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.001601/1.085, allocations: 1.216 MB / 0.956 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/1.085, allocations: 139 kB / 0.9561 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/1.086, allocations: 91.56 kB / 0.9562 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/1.086, allocations: 302.4 kB / 0.9565 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.086, allocations: 35.94 kB / 0.9565 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/1.086, allocations: 0 / 0.9565 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0008095/1.087, allocations: 285.5 kB / 0.9568 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.087, allocations: 54.77 kB / 0.9568 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/1.088, allocations: 308.8 kB / 0.9571 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/1.088, allocations: 30.3 kB / 0.9571 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/1.088, allocations: 187.4 kB / 0.9573 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/1.088, allocations: 53.22 kB / 0.9574 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/1.088, allocations: 47.94 kB / 0.9574 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.088, allocations: 341.4 kB / 0.9577 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/1.088, allocations: 66.5 kB / 0.9578 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/1.089, allocations: 121.2 kB / 0.9579 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/1.089, allocations: 192.3 kB / 0.9581 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/1.089, allocations: 0 / 0.9581 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005113/1.09, allocations: 242.9 kB / 0.9583 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.09, allocations: 5.281 kB / 0.9583 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.09, allocations: 7.969 kB / 0.9584 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.09, allocations: 2.125 kB / 0.9584 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/1.09, allocations: 41.67 kB / 0.9584 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.09, allocations: 2.562 kB / 0.9584 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/1.09, allocations: 33.64 kB / 0.9584 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/1.09, allocations: 10.09 kB / 0.9584 GB, free: 13.93 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.0002263/1.091, allocations: 155.6 kB / 0.9586 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/1.091, allocations: 34.31 kB / 0.9586 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/1.091, allocations: 212.8 kB / 0.9588 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.091, allocations: 5.906 kB / 0.9588 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.091, allocations: 0 / 0.9588 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.091, allocations: 1.469 kB / 0.9588 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/1.092, allocations: 0.6844 MB / 0.9595 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.092, allocations: 2.5 kB / 0.9595 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/1.093, allocations: 34.03 kB / 0.9595 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/1.093, allocations: 10.84 kB / 0.9595 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.093, allocations: 2.75 kB / 0.9595 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.093, allocations: 6.688 kB / 0.9596 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.093, allocations: 3 kB / 0.9596 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/1.093, allocations: 437.9 kB / 0.96 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.094, allocations: 125.3 kB / 0.9601 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/1.094, allocations: 9.312 kB / 0.9601 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/1.094, allocations: 10.69 kB / 0.9601 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/1.094, allocations: 18.42 kB / 0.9601 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/1.094, allocations: 6 kB / 0.9601 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002475/1.094, allocations: 223.5 kB / 0.9603 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.673e-06/1.094, allocations: 0 / 0.9603 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000491/1.095, allocations: 82.73 kB / 0.9604 GB, free: 12.95 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.001327/1.096, allocations: 1.023 MB / 0.9614 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004869/1.097, allocations: 181.3 kB / 0.9616 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.097, allocations: 5.312 kB / 0.9616 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/1.097, allocations: 86.81 kB / 0.9617 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009875/1.098, allocations: 171.7 kB / 0.9619 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/1.102, allocations: 2.916 MB / 0.9647 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/1.102, allocations: 0.775 MB / 0.9655 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002844/1.103, allocations: 68.02 kB / 0.9655 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.103, allocations: 86.55 kB / 0.9656 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/1.103, allocations: 4 kB / 0.9656 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/1.133, allocations: 8.74 MB / 0.9741 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.845, allocations: 9.328 kB / 0.9742 GB, free: 7.148 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)