Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001118/0.001118, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00939/0.00939, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 21.97 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3545, allocations: 162.1 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1924/0.5469, allocations: 163 MB / 1.233 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003181/0.5501, allocations: 1.537 MB / 1.235 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.5504, allocations: 7.938 kB / 1.235 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.5509, allocations: 115.2 kB / 1.235 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.5528, allocations: 0.6691 MB / 1.236 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.5543, allocations: 0.544 MB / 1.236 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.5554, allocations: 0.9742 MB / 1.237 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.5558, allocations: 189.3 kB / 1.237 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000585/0.5564, allocations: 306.7 kB / 1.238 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.5567, allocations: 231 kB / 1.238 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.5568, allocations: 12 kB / 1.238 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.5585, allocations: 1.017 MB / 1.239 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.5586, allocations: 91.7 kB / 1.239 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.5588, allocations: 180.9 kB / 1.239 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.5599, allocations: 0.7673 MB / 1.24 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5599, allocations: 0 / 1.24 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5599, allocations: 0 / 1.24 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.5599, allocations: 0 / 1.24 GB, free: 13.32 MB / 0.9981 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.001005/0.5609, allocations: 0.5998 MB / 1.24 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.561, allocations: 11.97 kB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.5621, allocations: 155.4 kB / 1.241 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.5626, allocations: 305.7 kB / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5626, allocations: 24.44 kB / 1.241 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.5627, allocations: 20 kB / 1.241 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.5632, allocations: 287.3 kB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5632, allocations: 0 / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.5633, allocations: 8 kB / 1.241 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.5633, allocations: 12 kB / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.5637, allocations: 199.8 kB / 1.241 GB, free: 11.6 MB / 0.9981 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.001497/0.5652, allocations: 1.217 MB / 1.243 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.5656, allocations: 142.4 kB / 1.243 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.5658, allocations: 96.81 kB / 1.243 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006414/0.5664, allocations: 319.2 kB / 1.243 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.5665, allocations: 38.5 kB / 1.243 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.5665, allocations: 0 / 1.243 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008344/0.5673, allocations: 297.4 kB / 1.243 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.5674, allocations: 51.41 kB / 1.243 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.5677, allocations: 316.5 kB / 1.244 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.5678, allocations: 29.7 kB / 1.244 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.5679, allocations: 184.2 kB / 1.244 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.568, allocations: 51.27 kB / 1.244 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.568, allocations: 17.72 kB / 1.244 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5682, allocations: 346.7 kB / 1.244 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.5684, allocations: 67.95 kB / 1.244 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.5686, allocations: 130.7 kB / 1.245 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.569, allocations: 204.9 kB / 1.245 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.569, allocations: 0 / 1.245 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005321/0.5696, allocations: 259.7 kB / 1.245 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5696, allocations: 8 kB / 1.245 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5696, allocations: 0 / 1.245 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5696, allocations: 4 kB / 1.245 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.5698, allocations: 39.98 kB / 1.245 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.5699, allocations: 3.938 kB / 1.245 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.5701, allocations: 47.72 kB / 1.245 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.5701, allocations: 12 kB / 1.245 GB, free: 7.5 MB / 0.9981 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.0001516/0.5703, allocations: 145.8 kB / 1.245 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.5704, allocations: 27.72 kB / 1.245 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005073/0.5709, allocations: 230.4 kB / 1.245 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.5709, allocations: 4 kB / 1.245 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5709, allocations: 3.938 kB / 1.245 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5709, allocations: 0 / 1.245 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.5721, allocations: 0.7029 MB / 1.246 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5721, allocations: 12.2 kB / 1.246 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.5723, allocations: 35.92 kB / 1.246 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.5723, allocations: 4 kB / 1.246 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.5723, allocations: 11.94 kB / 1.246 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5723, allocations: 0 / 1.246 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5723, allocations: 4 kB / 1.246 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.5731, allocations: 448.9 kB / 1.247 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.5732, allocations: 120.8 kB / 1.247 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.5733, allocations: 11.92 kB / 1.247 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.5735, allocations: 16.05 kB / 1.247 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.5735, allocations: 19.92 kB / 1.247 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.5735, allocations: 8 kB / 1.247 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002265/0.5738, allocations: 219.1 kB / 1.247 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.482e-06/0.5738, allocations: 0 / 1.247 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004023/0.5742, allocations: 91.86 kB / 1.247 GB, free: 5.262 MB / 0.9981 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.0004119/0.5746, allocations: 159.5 kB / 1.247 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005229/0.5751, allocations: 181.9 kB / 1.247 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5751, allocations: 0 / 1.247 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.5754, allocations: 91.83 kB / 1.248 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5764, allocations: 165.4 kB / 1.248 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5775, allocations: 0.7254 MB / 1.248 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.5779, allocations: 0.7758 MB / 1.249 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.5781, allocations: 62.92 kB / 1.249 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.5782, allocations: 27.44 kB / 1.249 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.5782, allocations: 0 / 1.249 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of Templates: time 0.5854/1.164, allocations: 5.426 MB / 1.255 GB, free: 182.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)