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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009397, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008291/0.0008292, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.679/1.679, allocations: 252 MB / 0.5102 GB, free: 4.82 MB / 414.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.0005762/0.0005763, allocations: 12 kB / 0.6243 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5808, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1713/0.7521, allocations: 152.2 MB / 0.8767 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.7552, allocations: 1.524 MB / 0.8782 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.7556, allocations: 19.81 kB / 0.8782 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004975/0.7561, allocations: 99.27 kB / 0.8783 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.7575, allocations: 0.5014 MB / 0.8788 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.759, allocations: 458.9 kB / 0.8793 GB, free: 248 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.76, allocations: 0.83 MB / 0.8801 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.7604, allocations: 181.2 kB / 0.8802 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006614/0.7611, allocations: 302.8 kB / 0.8805 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.7614, allocations: 211.2 kB / 0.8807 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.7614, allocations: 12 kB / 0.8807 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.7627, allocations: 466.8 kB / 0.8812 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.7629, allocations: 103.7 kB / 0.8813 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.834e-05/0.763, allocations: 85.58 kB / 0.8814 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.7636, allocations: 434.9 kB / 0.8818 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7636, allocations: 0 / 0.8818 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7636, allocations: 0 / 0.8818 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.7636, allocations: 0 / 0.8818 GB, free: 13.64 MB / 0.7012 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.001089/0.7647, allocations: 0.6115 MB / 0.8824 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.7648, allocations: 8.031 kB / 0.8824 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.766, allocations: 155.4 kB / 0.8825 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.7665, allocations: 293.9 kB / 0.8828 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.7665, allocations: 20.44 kB / 0.8828 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.7666, allocations: 20 kB / 0.8829 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.7671, allocations: 279.5 kB / 0.8831 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.7671, allocations: 0 / 0.8831 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.7672, allocations: 12 kB / 0.8831 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.7672, allocations: 4 kB / 0.8831 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.7676, allocations: 211.8 kB / 0.8833 GB, free: 11.94 MB / 0.7012 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.001432/0.7691, allocations: 1.225 MB / 0.8845 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.7693, allocations: 134.5 kB / 0.8847 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.7695, allocations: 96.8 kB / 0.8848 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/0.7701, allocations: 311.2 kB / 0.8851 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.7701, allocations: 46.48 kB / 0.8851 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.7702, allocations: 0 / 0.8851 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0007486/0.7709, allocations: 288.6 kB / 0.8854 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.771, allocations: 55.39 kB / 0.8854 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.7713, allocations: 324.4 kB / 0.8857 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.7713, allocations: 25.7 kB / 0.8858 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.7715, allocations: 176.2 kB / 0.8859 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.7715, allocations: 55.2 kB / 0.886 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.7715, allocations: 4 kB / 0.886 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7717, allocations: 346.8 kB / 0.8863 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.7718, allocations: 71.95 kB / 0.8864 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.772, allocations: 131.8 kB / 0.8865 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.7722, allocations: 83.95 kB / 0.8866 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7722, allocations: 0 / 0.8866 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004272/0.7727, allocations: 255.4 kB / 0.8868 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.7727, allocations: 10.19 kB / 0.8868 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7727, allocations: 0 / 0.8868 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7727, allocations: 4 kB / 0.8868 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.7729, allocations: 47.91 kB / 0.8869 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.7729, allocations: 0 / 0.8869 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.7731, allocations: 39.83 kB / 0.8869 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.7732, allocations: 8 kB / 0.8869 GB, free: 8.008 MB / 0.7012 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.0001411/0.7733, allocations: 149.7 kB / 0.8871 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.7734, allocations: 35.62 kB / 0.8871 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.7738, allocations: 224.5 kB / 0.8873 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.7738, allocations: 7.984 kB / 0.8873 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7739, allocations: 0 / 0.8873 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.7739, allocations: 3.984 kB / 0.8873 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009742/0.7748, allocations: 0.7069 MB / 0.888 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7749, allocations: 0 / 0.888 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.775, allocations: 31.98 kB / 0.8881 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.775, allocations: 0 / 0.8881 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.7751, allocations: 4 kB / 0.8881 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7751, allocations: 4 kB / 0.8881 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.7751, allocations: 11.89 kB / 0.8881 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.7757, allocations: 445.1 kB / 0.8885 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.7758, allocations: 116.8 kB / 0.8886 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.7758, allocations: 8 kB / 0.8886 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.776, allocations: 23.98 kB / 0.8886 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.7761, allocations: 19.88 kB / 0.8887 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.7761, allocations: 12 kB / 0.8887 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002084/0.7763, allocations: 223 kB / 0.8889 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7763, allocations: 0 / 0.8889 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000396/0.7767, allocations: 83.84 kB / 0.889 GB, free: 5.773 MB / 0.7012 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.0003953/0.7771, allocations: 168.5 kB / 0.8891 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.7775, allocations: 176 kB / 0.8893 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7775, allocations: 0 / 0.8893 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.7777, allocations: 91.83 kB / 0.8894 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.7786, allocations: 157.6 kB / 0.8895 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.7796, allocations: 0.7102 MB / 0.8902 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.7799, allocations: 0.7758 MB / 0.891 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.7802, allocations: 66.92 kB / 0.891 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.7802, allocations: 27.44 kB / 0.8911 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of SimCode: time 2.11e-07/0.7802, allocations: 0 / 0.8911 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of Templates: time 0.009619/0.7899, allocations: 5.285 MB / 0.8962 GB, free: 14.35 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: