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.001753/0.001753, allocations: 109.4 kB / 15.69 MB, free: 128 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.002693/0.002693, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.662/1.662, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.64/1.64, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001497/0.001497, allocations: 72.31 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2385, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6074/0.8459, allocations: 167.4 MB / 0.9471 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.8491, allocations: 1.545 MB / 0.9486 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.8495, allocations: 11.47 kB / 0.9486 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.85, allocations: 147 kB / 0.9487 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.852, allocations: 0.7082 MB / 0.9494 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.8543, allocations: 0.599 MB / 0.95 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.8558, allocations: 0.6986 MB / 0.9507 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004838/0.8563, allocations: 238.8 kB / 0.9509 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007266/0.857, allocations: 338.2 kB / 0.9512 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.8574, allocations: 220.6 kB / 0.9514 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.8575, allocations: 22.66 kB / 0.9515 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.8591, allocations: 0.8656 MB / 0.9523 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.8592, allocations: 109.6 kB / 0.9524 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.8594, allocations: 167.3 kB / 0.9526 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.8605, allocations: 0.7287 MB / 0.9533 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8605, allocations: 1.125 kB / 0.9533 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8605, allocations: 0 / 0.9533 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.8605, allocations: 0 / 0.9533 GB, free: 0.9727 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.0009327/0.8614, allocations: 0.6395 MB / 0.9539 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.8615, allocations: 13.61 kB / 0.9539 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/0.8616, allocations: 56.69 kB / 0.954 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.8626, allocations: 159.4 kB / 0.9541 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.8631, allocations: 323.3 kB / 0.9544 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.8632, allocations: 20.56 kB / 0.9545 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.8632, allocations: 21.59 kB / 0.9545 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.8637, allocations: 275.8 kB / 0.9547 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.8637, allocations: 0 / 0.9547 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.8637, allocations: 11.3 kB / 0.9548 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.8638, allocations: 5.875 kB / 0.9548 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.8642, allocations: 199.8 kB / 0.9549 GB, free: 16.1 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.001371/0.8655, allocations: 1.213 MB / 0.9561 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.8658, allocations: 131.8 kB / 0.9563 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.866, allocations: 90.86 kB / 0.9563 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.8666, allocations: 302.7 kB / 0.9566 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.8666, allocations: 35.91 kB / 0.9567 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.8666, allocations: 0 / 0.9567 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007371/0.8674, allocations: 287.9 kB / 0.9569 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.8674, allocations: 54.86 kB / 0.957 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.8677, allocations: 315.4 kB / 0.9573 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.8678, allocations: 26.8 kB / 0.9573 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.8679, allocations: 183.5 kB / 0.9575 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.8679, allocations: 55.28 kB / 0.9576 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.868, allocations: 47.8 kB / 0.9576 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8681, allocations: 339.9 kB / 0.9579 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.8683, allocations: 65.62 kB / 0.958 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.8685, allocations: 124 kB / 0.9581 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.8688, allocations: 199.7 kB / 0.9583 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8688, allocations: 1.094 kB / 0.9583 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004269/0.8693, allocations: 236.1 kB / 0.9585 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8693, allocations: 9.016 kB / 0.9585 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8693, allocations: 1.344 kB / 0.9585 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.8693, allocations: 2.344 kB / 0.9585 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.8695, allocations: 40.09 kB / 0.9586 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.8695, allocations: 4.797 kB / 0.9586 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.8697, allocations: 36.41 kB / 0.9586 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.8698, allocations: 7.25 kB / 0.9586 GB, free: 13.95 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.0001429/0.8699, allocations: 155.4 kB / 0.9588 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.87, allocations: 30.34 kB / 0.9588 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.8704, allocations: 225 kB / 0.959 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.8704, allocations: 5.672 kB / 0.959 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8704, allocations: 1.25 kB / 0.959 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8704, allocations: 0 / 0.959 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/0.8714, allocations: 0.6829 MB / 0.9597 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8714, allocations: 6.156 kB / 0.9597 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.8716, allocations: 37.22 kB / 0.9597 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.8716, allocations: 9.438 kB / 0.9597 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.8716, allocations: 5.469 kB / 0.9597 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.8717, allocations: 5.234 kB / 0.9597 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8717, allocations: 3.141 kB / 0.9597 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.8723, allocations: 426.6 kB / 0.9601 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.8724, allocations: 122.8 kB / 0.9603 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.8725, allocations: 13.41 kB / 0.9603 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.8726, allocations: 11.88 kB / 0.9603 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.8727, allocations: 13.45 kB / 0.9603 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.8727, allocations: 10.16 kB / 0.9603 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000206/0.8729, allocations: 226.5 kB / 0.9605 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.01e-07/0.8729, allocations: 0 / 0.9605 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004125/0.8733, allocations: 83.05 kB / 0.9606 GB, free: 12.96 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.001164/0.8745, allocations: 1.02 MB / 0.9616 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.8749, allocations: 179.9 kB / 0.9618 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8749, allocations: 0 / 0.9618 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.8751, allocations: 87.47 kB / 0.9619 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.876, allocations: 173 kB / 0.962 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.8796, allocations: 2.894 MB / 0.9649 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.88, allocations: 0.7739 MB / 0.9656 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.8802, allocations: 59.48 kB / 0.9657 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.8803, allocations: 87.64 kB / 0.9657 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.8804, allocations: 1.203 kB / 0.9657 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.9103, allocations: 8.764 MB / 0.9743 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.691, allocations: 10.41 kB / 0.9743 GB, free: 7.168 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)