Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.898/1.898, allocations: 288.3 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001222, allocations: 189.6 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 79.45 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 16.17 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2461, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6818/0.928, allocations: 140.1 MB / 1.116 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003264/0.9313, allocations: 1.582 MB / 1.118 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.9317, allocations: 9.312 kB / 1.118 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.9325, allocations: 172.4 kB / 1.118 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.9343, allocations: 0.5158 MB / 1.119 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.9362, allocations: 481.8 kB / 1.119 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.937, allocations: 432.6 kB / 1.119 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.9375, allocations: 187.5 kB / 1.12 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/0.9383, allocations: 337.4 kB / 1.12 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.9386, allocations: 157.2 kB / 1.12 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.9386, allocations: 12.41 kB / 1.12 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.9398, allocations: 418.1 kB / 1.12 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.9399, allocations: 91.98 kB / 1.121 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.9401, allocations: 87.89 kB / 1.121 GB, free: 17.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005718/0.9406, allocations: 391.3 kB / 1.121 GB, free: 17.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.9407, allocations: 0 / 1.121 GB, free: 17.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9407, allocations: 0 / 1.121 GB, free: 17.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.9407, allocations: 1.969 kB / 1.121 GB, free: 17.19 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.0009435/0.9416, allocations: 0.5961 MB / 1.122 GB, free: 16.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.9417, allocations: 8.312 kB / 1.122 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.9429, allocations: 166.4 kB / 1.122 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.9433, allocations: 296.9 kB / 1.122 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.9434, allocations: 16.22 kB / 1.122 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.9434, allocations: 27.92 kB / 1.122 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.9439, allocations: 274.6 kB / 1.122 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.944, allocations: 0 / 1.122 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.944, allocations: 13.84 kB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.944, allocations: 5.812 kB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.9444, allocations: 207.8 kB / 1.123 GB, free: 16.36 MB / 0.698 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.001381/0.9458, allocations: 1.22 MB / 1.124 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.9461, allocations: 141.5 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004247/0.9465, allocations: 134.3 kB / 1.124 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.9466, allocations: 35.34 kB / 1.124 GB, free: 15.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.9466, allocations: 0 / 1.124 GB, free: 15.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.000794/0.9474, allocations: 292.7 kB / 1.124 GB, free: 15.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.9474, allocations: 52.75 kB / 1.124 GB, free: 15.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.9478, allocations: 319.8 kB / 1.125 GB, free: 15.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.9478, allocations: 30.86 kB / 1.125 GB, free: 15.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.9479, allocations: 182.6 kB / 1.125 GB, free: 14.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.948, allocations: 52.98 kB / 1.125 GB, free: 14.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.948, allocations: 4.562 kB / 1.125 GB, free: 14.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9481, allocations: 342 kB / 1.125 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.9483, allocations: 73.42 kB / 1.125 GB, free: 14.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.9485, allocations: 124.4 kB / 1.125 GB, free: 14.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.9487, allocations: 84.02 kB / 1.126 GB, free: 14.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9487, allocations: 1.859 kB / 1.126 GB, free: 14.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004832/0.9492, allocations: 255.8 kB / 1.126 GB, free: 14.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9492, allocations: 6.906 kB / 1.126 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.9492, allocations: 0 / 1.126 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9492, allocations: 4.906 kB / 1.126 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.9495, allocations: 44.09 kB / 1.126 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9495, allocations: 2.812 kB / 1.126 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.9497, allocations: 37.03 kB / 1.126 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.9498, allocations: 12.59 kB / 1.126 GB, free: 14.49 MB / 0.698 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.0001435/0.9499, allocations: 153.9 kB / 1.126 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.95, allocations: 30.47 kB / 1.126 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.9504, allocations: 230 kB / 1.126 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.9504, allocations: 0 / 1.126 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9504, allocations: 0 / 1.126 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9504, allocations: 8.594 kB / 1.126 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.9515, allocations: 0.6936 MB / 1.127 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9515, allocations: 0 / 1.127 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.9517, allocations: 41.47 kB / 1.127 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.9517, allocations: 4.969 kB / 1.127 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.9517, allocations: 3.062 kB / 1.127 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.9517, allocations: 6.312 kB / 1.127 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9517, allocations: 5.891 kB / 1.127 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.9524, allocations: 0.5275 MB / 1.128 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.9525, allocations: 126.8 kB / 1.128 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.9526, allocations: 13.92 kB / 1.128 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.9528, allocations: 23 kB / 1.128 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.9529, allocations: 14.61 kB / 1.128 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.9529, allocations: 5.406 kB / 1.128 GB, free: 13.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000203/0.9531, allocations: 221.2 kB / 1.128 GB, free: 13.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/0.9531, allocations: 4 kB / 1.128 GB, free: 13.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004174/0.9535, allocations: 74.09 kB / 1.128 GB, free: 13.37 MB / 0.698 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.0004182/0.9539, allocations: 167.8 kB / 1.128 GB, free: 13.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.9544, allocations: 184.8 kB / 1.128 GB, free: 13.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9544, allocations: 0 / 1.128 GB, free: 13.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.9546, allocations: 90.62 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.9554, allocations: 162.8 kB / 1.129 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.9564, allocations: 0.713 MB / 1.129 GB, free: 12.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.9568, allocations: 0.78 MB / 1.13 GB, free: 12.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002348/0.9571, allocations: 70.34 kB / 1.13 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.9572, allocations: 22.94 kB / 1.13 GB, free: 12.07 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.9572, allocations: 0 / 1.13 GB, free: 12.07 MB / 0.698 GB Notification: Performance of Templates: time 0.01012/0.9673, allocations: 5.271 MB / 1.135 GB, free: 9.984 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)