Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001347/0.001347, allocations: 101.8 kB / 16.35 MB, free: 5.824 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.00158/0.001581, allocations: 196.6 kB / 17.3 MB, free: 5.48 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 292.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9574/0.9574, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 94.03 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1652, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4775/0.6427, allocations: 167.4 MB / 0.845 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.6454, allocations: 1.549 MB / 0.8465 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.6458, allocations: 11.94 kB / 0.8466 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.6463, allocations: 150.8 kB / 0.8467 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.6479, allocations: 0.7039 MB / 0.8474 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.6493, allocations: 0.6002 MB / 0.848 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000744/0.6501, allocations: 0.7051 MB / 0.8487 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.6504, allocations: 229.1 kB / 0.8489 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.651, allocations: 326.8 kB / 0.8492 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.6512, allocations: 219.1 kB / 0.8494 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.6513, allocations: 28 kB / 0.8494 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.6527, allocations: 0.8689 MB / 0.8503 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.6528, allocations: 107.7 kB / 0.8504 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.653, allocations: 167.2 kB / 0.8505 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009628/0.654, allocations: 0.7274 MB / 0.8512 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.654, allocations: 0 / 0.8512 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.654, allocations: 0 / 0.8512 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.654, allocations: 0 / 0.8512 GB, free: 0.7812 MB / 0.6075 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.000864/0.6549, allocations: 0.6511 MB / 0.8519 GB, free: 84 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6549, allocations: 8.031 kB / 0.8519 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.6561, allocations: 159.4 kB / 0.852 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.6566, allocations: 321.6 kB / 0.8523 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.6567, allocations: 16.44 kB / 0.8524 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.6567, allocations: 24 kB / 0.8524 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.6572, allocations: 271.5 kB / 0.8526 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.6572, allocations: 7.938 kB / 0.8527 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.6572, allocations: 8 kB / 0.8527 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.6572, allocations: 8 kB / 0.8527 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.6576, allocations: 199.8 kB / 0.8529 GB, free: 15.02 MB / 0.6231 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.001332/0.659, allocations: 1.205 MB / 0.854 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.6592, allocations: 134.5 kB / 0.8542 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.6594, allocations: 92.8 kB / 0.8543 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005323/0.66, allocations: 307.2 kB / 0.8545 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.66, allocations: 38.5 kB / 0.8546 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.505e-06/0.66, allocations: 4 kB / 0.8546 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007256/0.6607, allocations: 277.4 kB / 0.8548 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6608, allocations: 59.34 kB / 0.8549 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.6611, allocations: 316.5 kB / 0.8552 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.6611, allocations: 29.7 kB / 0.8552 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.6612, allocations: 176.2 kB / 0.8554 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.6613, allocations: 59.19 kB / 0.8555 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.6614, allocations: 37.72 kB / 0.8555 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6615, allocations: 342.8 kB / 0.8558 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.6617, allocations: 67.95 kB / 0.8559 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.6619, allocations: 126.3 kB / 0.856 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.6622, allocations: 192.9 kB / 0.8562 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6622, allocations: 0 / 0.8562 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004386/0.6626, allocations: 244.2 kB / 0.8564 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.6627, allocations: 4 kB / 0.8564 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6627, allocations: 4 kB / 0.8564 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6627, allocations: 0 / 0.8564 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.6629, allocations: 44.8 kB / 0.8565 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.6629, allocations: 11.92 kB / 0.8565 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.6631, allocations: 27.69 kB / 0.8565 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.6631, allocations: 16.08 kB / 0.8565 GB, free: 10.99 MB / 0.6231 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.0001323/0.6633, allocations: 149.8 kB / 0.8567 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.6633, allocations: 23.72 kB / 0.8567 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.6638, allocations: 231.9 kB / 0.8569 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6638, allocations: 0 / 0.8569 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6638, allocations: 0 / 0.8569 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6638, allocations: 0 / 0.8569 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/0.6648, allocations: 0.6798 MB / 0.8576 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6648, allocations: 0 / 0.8576 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.665, allocations: 35.91 kB / 0.8576 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.665, allocations: 4 kB / 0.8576 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.665, allocations: 11.94 kB / 0.8576 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.665, allocations: 0 / 0.8576 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.665, allocations: 4 kB / 0.8576 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.6657, allocations: 434.5 kB / 0.858 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.6658, allocations: 124.7 kB / 0.8582 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.6658, allocations: 7.938 kB / 0.8582 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.666, allocations: 11.98 kB / 0.8582 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.6661, allocations: 19.91 kB / 0.8582 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.6661, allocations: 8.141 kB / 0.8582 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002003/0.6663, allocations: 227 kB / 0.8584 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6663, allocations: 0 / 0.8584 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003867/0.6667, allocations: 72 kB / 0.8585 GB, free: 8.832 MB / 0.6231 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.0003692/0.6671, allocations: 173 kB / 0.8587 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.6675, allocations: 175.9 kB / 0.8588 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6675, allocations: 0 / 0.8588 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.6677, allocations: 87.81 kB / 0.8589 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.6686, allocations: 174.9 kB / 0.8591 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.6695, allocations: 0.598 MB / 0.8597 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.6698, allocations: 0.7795 MB / 0.8604 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.67, allocations: 67.16 kB / 0.8605 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.6701, allocations: 23.44 kB / 0.8605 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.6701, allocations: 0 / 0.8605 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of Templates: time 0.01005/0.6801, allocations: 5.742 MB / 0.8661 GB, free: 1.078 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)