Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001093/0.001093, allocations: 104.1 kB / 16.36 MB, free: 6.309 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.001023/0.001023, allocations: 188.7 kB / 17.29 MB, free: 5.875 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.12 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.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.001598/0.001598, allocations: 67.91 kB / 0.6729 GB, free: 5.918 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2576, allocations: 114.6 MB / 0.7848 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6904/0.948, allocations: 167.4 MB / 0.9482 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003248/0.9513, allocations: 1.542 MB / 0.9497 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.9518, allocations: 16.81 kB / 0.9497 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.9524, allocations: 142.9 kB / 0.9499 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.9543, allocations: 0.7078 MB / 0.9506 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.9559, allocations: 0.6066 MB / 0.9512 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.9567, allocations: 0.7012 MB / 0.9518 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.9571, allocations: 233.1 kB / 0.9521 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.9577, allocations: 338.7 kB / 0.9524 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.958, allocations: 211.1 kB / 0.9526 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.9581, allocations: 24 kB / 0.9526 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.9595, allocations: 0.8689 MB / 0.9535 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.9596, allocations: 121.6 kB / 0.9536 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.9598, allocations: 155.3 kB / 0.9537 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.9608, allocations: 0.7285 MB / 0.9544 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9608, allocations: 0 / 0.9544 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9608, allocations: 3.938 kB / 0.9544 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.9608, allocations: 0 / 0.9544 GB, free: 12.55 MB / 0.7481 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.001016/0.9619, allocations: 0.6494 MB / 0.9551 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.9619, allocations: 8.031 kB / 0.9551 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.9631, allocations: 151.5 kB / 0.9552 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.9636, allocations: 321.6 kB / 0.9555 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.9637, allocations: 24.44 kB / 0.9556 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.9637, allocations: 20 kB / 0.9556 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.9642, allocations: 267.5 kB / 0.9558 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.9643, allocations: 11.91 kB / 0.9558 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.9643, allocations: 12 kB / 0.9559 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.9643, allocations: 4 kB / 0.9559 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.9648, allocations: 203.8 kB / 0.9561 GB, free: 10.8 MB / 0.7481 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.001504/0.9663, allocations: 1.202 MB / 0.9572 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.9666, allocations: 138.5 kB / 0.9574 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.9668, allocations: 84.81 kB / 0.9574 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/0.9674, allocations: 311.2 kB / 0.9577 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.9674, allocations: 35.91 kB / 0.9578 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.9674, allocations: 4 kB / 0.9578 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0008033/0.9682, allocations: 277.4 kB / 0.958 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.9683, allocations: 55.41 kB / 0.9581 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.9686, allocations: 316.5 kB / 0.9584 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.9686, allocations: 25.7 kB / 0.9584 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.9688, allocations: 184.1 kB / 0.9586 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.9688, allocations: 55.2 kB / 0.9586 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.9689, allocations: 45.7 kB / 0.9587 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9691, allocations: 338.8 kB / 0.959 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.9693, allocations: 63.95 kB / 0.9591 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.9695, allocations: 125 kB / 0.9592 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.9698, allocations: 189.8 kB / 0.9594 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9699, allocations: 4 kB / 0.9594 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004711/0.9703, allocations: 242.6 kB / 0.9596 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9704, allocations: 5.688 kB / 0.9596 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9704, allocations: 4 kB / 0.9596 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.9704, allocations: 0 / 0.9596 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.9706, allocations: 52.41 kB / 0.9597 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9707, allocations: 4 kB / 0.9597 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.9709, allocations: 27.67 kB / 0.9597 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.9709, allocations: 12 kB / 0.9597 GB, free: 6.777 MB / 0.7481 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.000166/0.9711, allocations: 157.8 kB / 0.9599 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.9711, allocations: 29.12 kB / 0.9599 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.9717, allocations: 214.5 kB / 0.9601 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.9717, allocations: 6.312 kB / 0.9601 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.9717, allocations: 0 / 0.9601 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.9717, allocations: 0 / 0.9601 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.9728, allocations: 0.6912 MB / 0.9608 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.9728, allocations: 4.219 kB / 0.9608 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.9729, allocations: 31.98 kB / 0.9608 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.973, allocations: 4 kB / 0.9608 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.973, allocations: 11.94 kB / 0.9608 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.973, allocations: 0 / 0.9608 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.973, allocations: 7.938 kB / 0.9608 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.9737, allocations: 434.3 kB / 0.9612 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.9738, allocations: 120.7 kB / 0.9614 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.9738, allocations: 7.938 kB / 0.9614 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.974, allocations: 12.06 kB / 0.9614 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.9741, allocations: 14.23 kB / 0.9614 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.9741, allocations: 8 kB / 0.9614 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002263/0.9743, allocations: 223 kB / 0.9616 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9743, allocations: 0 / 0.9616 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003948/0.9747, allocations: 83.89 kB / 0.9617 GB, free: 4.605 MB / 0.7481 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.0004932/0.9752, allocations: 178.5 kB / 0.9619 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.9757, allocations: 167.8 kB / 0.962 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9757, allocations: 0 / 0.962 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.9759, allocations: 92.08 kB / 0.9621 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.9768, allocations: 162.9 kB / 0.9623 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.978, allocations: 0.6263 MB / 0.9629 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.9785, allocations: 0.7756 MB / 0.9636 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.9786, allocations: 27.44 kB / 0.9637 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.9786, allocations: 0 / 0.9637 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of Templates: time 0.007936/0.9865, allocations: 4.816 MB / 0.9684 GB, free: 13.85 MB / 0.7638 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)