Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 176.7 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 84.05 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004967, allocations: 9.625 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2365, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7529/0.9895, allocations: 163.1 MB / 1.061 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004281/0.9938, allocations: 1.589 MB / 1.062 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005622/0.9945, allocations: 11.06 kB / 1.062 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006579/0.9951, allocations: 119.6 kB / 1.062 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.9981, allocations: 0.6604 MB / 1.063 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/1.001, allocations: 0.5477 MB / 1.064 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001926/1.003, allocations: 0.9757 MB / 1.065 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/1.003, allocations: 198.1 kB / 1.065 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008641/1.004, allocations: 298.4 kB / 1.065 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/1.005, allocations: 228.1 kB / 1.065 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/1.005, allocations: 12.34 kB / 1.065 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/1.008, allocations: 1.019 MB / 1.066 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/1.008, allocations: 95.7 kB / 1.066 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002993/1.009, allocations: 182.6 kB / 1.066 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/1.01, allocations: 0.4904 MB / 1.067 GB, free: 1.809 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/1.01, allocations: 0.5156 kB / 1.067 GB, free: 1.809 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.881e-06/1.01, allocations: 0 / 1.067 GB, free: 1.809 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.01, allocations: 1.859 kB / 1.067 GB, free: 1.809 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.001519/1.012, allocations: 0.6018 MB / 1.068 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/1.012, allocations: 12.94 kB / 1.068 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/1.014, allocations: 157.1 kB / 1.068 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/1.014, allocations: 303 kB / 1.068 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/1.014, allocations: 16.03 kB / 1.068 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/1.014, allocations: 28.66 kB / 1.068 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/1.015, allocations: 285.2 kB / 1.068 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.015, allocations: 2.906 kB / 1.068 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/1.015, allocations: 11.86 kB / 1.068 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.015, allocations: 3.031 kB / 1.068 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/1.016, allocations: 203.8 kB / 1.069 GB, free: 16.99 MB / 0.7136 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.00223/1.018, allocations: 1.221 MB / 1.07 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/1.019, allocations: 147.1 kB / 1.07 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/1.019, allocations: 99.53 kB / 1.07 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009926/1.02, allocations: 318.1 kB / 1.07 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.02, allocations: 34.23 kB / 1.07 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 3.316e-06/1.02, allocations: 0 / 1.07 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.001273/1.021, allocations: 291 kB / 1.071 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/1.021, allocations: 57.33 kB / 1.071 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/1.022, allocations: 317.2 kB / 1.071 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/1.022, allocations: 31.27 kB / 1.071 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/1.022, allocations: 180 kB / 1.071 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/1.022, allocations: 53.95 kB / 1.071 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/1.022, allocations: 5.062 kB / 1.071 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002084/1.023, allocations: 343 kB / 1.072 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/1.023, allocations: 71.94 kB / 1.072 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/1.023, allocations: 134.1 kB / 1.072 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/1.024, allocations: 199.5 kB / 1.072 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.024, allocations: 0 / 1.072 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008065/1.025, allocations: 246.9 kB / 1.072 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.025, allocations: 10.53 kB / 1.072 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.025, allocations: 1.672 kB / 1.072 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/1.025, allocations: 2.062 kB / 1.072 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/1.025, allocations: 43.78 kB / 1.072 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.025, allocations: 2.344 kB / 1.072 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/1.026, allocations: 35.84 kB / 1.072 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/1.026, allocations: 19.86 kB / 1.072 GB, free: 14.91 MB / 0.7136 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.0002351/1.026, allocations: 149.3 kB / 1.072 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/1.026, allocations: 29.34 kB / 1.072 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008286/1.027, allocations: 236.3 kB / 1.073 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.027, allocations: 2.594 kB / 1.073 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/1.027, allocations: 0 / 1.073 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.027, allocations: 6.312 kB / 1.073 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/1.029, allocations: 0.6909 MB / 1.073 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.029, allocations: 6.344 kB / 1.073 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/1.029, allocations: 44.19 kB / 1.073 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/1.029, allocations: 2.969 kB / 1.073 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/1.029, allocations: 3.938 kB / 1.073 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.029, allocations: 2.625 kB / 1.073 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.029, allocations: 6.219 kB / 1.073 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/1.03, allocations: 448 kB / 1.074 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/1.03, allocations: 120.4 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/1.031, allocations: 7.422 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/1.031, allocations: 16.31 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/1.031, allocations: 18.89 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/1.031, allocations: 10.05 kB / 1.074 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004045/1.031, allocations: 229.2 kB / 1.074 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/1.031, allocations: 0 / 1.074 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007333/1.032, allocations: 85.84 kB / 1.074 GB, free: 13.94 MB / 0.7136 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.0005505/1.033, allocations: 171.7 kB / 1.074 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007093/1.033, allocations: 178.7 kB / 1.075 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.033, allocations: 0.7812 kB / 1.075 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/1.034, allocations: 100.7 kB / 1.075 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/1.035, allocations: 163 kB / 1.075 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/1.037, allocations: 0.7688 MB / 1.076 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/1.038, allocations: 0.7809 MB / 1.076 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.038, allocations: 25.75 kB / 1.076 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/1.038, allocations: 0 / 1.076 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.01303/1.051, allocations: 4.753 MB / 1.081 GB, free: 12.26 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)