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.002226/0.002226, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001969/0.001969, allocations: 189.6 kB / 16.13 MB, free: 6.738 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.582/1.582, allocations: 205.1 MB / 222 MB, free: 5.02 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.681/1.681, allocations: 251.7 MB / 0.5088 GB, free: 3.32 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.001495/0.001495, allocations: 64.33 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.666, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2106/0.8767, allocations: 165.3 MB / 0.8852 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.8801, allocations: 1.601 MB / 0.8867 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006472/0.8808, allocations: 7.938 kB / 0.8868 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.8815, allocations: 123.2 kB / 0.8869 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.8836, allocations: 0.6653 MB / 0.8875 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.8853, allocations: 0.5567 MB / 0.8881 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009716/0.8863, allocations: 0.9703 MB / 0.889 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.8866, allocations: 197.2 kB / 0.8892 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006346/0.8873, allocations: 302.7 kB / 0.8895 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.8876, allocations: 231.1 kB / 0.8897 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.8876, allocations: 16 kB / 0.8897 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.8894, allocations: 1.013 MB / 0.8907 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.8895, allocations: 103.7 kB / 0.8908 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.8897, allocations: 155.2 kB / 0.891 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.8908, allocations: 0.7596 MB / 0.8917 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.8909, allocations: 0 / 0.8917 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8909, allocations: 0 / 0.8917 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.8909, allocations: 4 kB / 0.8917 GB, free: 0.5742 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.001143/0.8921, allocations: 0.6582 MB / 0.8924 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.8921, allocations: 8.031 kB / 0.8924 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.8934, allocations: 155.4 kB / 0.8925 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.8938, allocations: 305.7 kB / 0.8928 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.8939, allocations: 16.44 kB / 0.8928 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.8939, allocations: 28 kB / 0.8928 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.8944, allocations: 275.4 kB / 0.8931 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8944, allocations: 0 / 0.8931 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.8945, allocations: 8 kB / 0.8931 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.8945, allocations: 8 kB / 0.8931 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.8949, allocations: 195.8 kB / 0.8933 GB, free: 14.82 MB / 0.7169 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.001472/0.8964, allocations: 1.213 MB / 0.8945 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.8967, allocations: 142.4 kB / 0.8946 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.8969, allocations: 92.8 kB / 0.8947 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/0.8977, allocations: 291.2 kB / 0.895 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.8977, allocations: 54.38 kB / 0.895 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.8977, allocations: 0 / 0.895 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008198/0.8985, allocations: 277.4 kB / 0.8953 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.8986, allocations: 51.41 kB / 0.8954 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.8989, allocations: 312.5 kB / 0.8957 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.899, allocations: 33.7 kB / 0.8957 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.8991, allocations: 180.2 kB / 0.8959 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.8992, allocations: 59.19 kB / 0.8959 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.8993, allocations: 41.7 kB / 0.896 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8994, allocations: 338.8 kB / 0.8963 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.8996, allocations: 63.95 kB / 0.8963 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.8998, allocations: 133.5 kB / 0.8965 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.9002, allocations: 185 kB / 0.8966 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9002, allocations: 4 kB / 0.8966 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004667/0.9007, allocations: 242.1 kB / 0.8969 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.9007, allocations: 4 kB / 0.8969 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.9007, allocations: 4 kB / 0.8969 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.9007, allocations: 0 / 0.8969 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.901, allocations: 47.91 kB / 0.8969 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.901, allocations: 0 / 0.8969 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.9012, allocations: 35.83 kB / 0.897 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.9013, allocations: 8 kB / 0.897 GB, free: 10.79 MB / 0.7169 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.0001619/0.9015, allocations: 161.7 kB / 0.8971 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.9015, allocations: 27.62 kB / 0.8972 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.902, allocations: 219.4 kB / 0.8974 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.9021, allocations: 7.984 kB / 0.8974 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9021, allocations: 0 / 0.8974 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9021, allocations: 0 / 0.8974 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.9032, allocations: 0.6796 MB / 0.898 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.9032, allocations: 4 kB / 0.898 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.9034, allocations: 31.92 kB / 0.8981 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.9034, allocations: 7.938 kB / 0.8981 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.9035, allocations: 11.92 kB / 0.8981 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.9035, allocations: 80 / 0.8981 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.9035, allocations: 12.14 kB / 0.8981 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.9043, allocations: 433 kB / 0.8985 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.9044, allocations: 120.7 kB / 0.8986 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.9045, allocations: 11.94 kB / 0.8986 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.9047, allocations: 15.98 kB / 0.8987 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.9048, allocations: 23.98 kB / 0.8987 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.9048, allocations: 4 kB / 0.8987 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002792/0.9051, allocations: 227 kB / 0.8989 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9051, allocations: 3.938 kB / 0.8989 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004637/0.9055, allocations: 83.84 kB / 0.899 GB, free: 8.586 MB / 0.7169 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.0006418/0.9062, allocations: 164.2 kB / 0.8991 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.9067, allocations: 163.8 kB / 0.8993 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9067, allocations: 0 / 0.8993 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.9069, allocations: 87.81 kB / 0.8994 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.9079, allocations: 169.6 kB / 0.8995 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.9092, allocations: 0.6812 MB / 0.9002 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.9097, allocations: 0.7758 MB / 0.901 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002207/0.9099, allocations: 66.92 kB / 0.901 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.91, allocations: 27.44 kB / 0.9011 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of SimCode: time 8.11e-07/0.91, allocations: 0 / 0.9011 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.01209/0.9221, allocations: 5.477 MB / 0.9064 GB, free: 1.012 MB / 0.7169 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)