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.0009981/0.0009984, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.008989/0.008989, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.418/1.418, 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/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 282.6 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005351/0.0005353, allocations: 16.5 kB / 0.5986 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1927, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.565/0.7577, allocations: 163 MB / 0.8443 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.7602, allocations: 1.55 MB / 0.8458 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.7604, allocations: 17.94 kB / 0.8458 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.7608, allocations: 115 kB / 0.8459 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.7624, allocations: 0.6669 MB / 0.8465 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.7637, allocations: 0.5444 MB / 0.8471 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009509/0.7647, allocations: 0.9761 MB / 0.848 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.765, allocations: 195.8 kB / 0.8482 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.7655, allocations: 301.5 kB / 0.8485 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.7657, allocations: 230.6 kB / 0.8487 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.7658, allocations: 14.78 kB / 0.8487 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.7672, allocations: 1.006 MB / 0.8497 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.7674, allocations: 103.6 kB / 0.8498 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.7675, allocations: 174.5 kB / 0.85 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008502/0.7684, allocations: 0.7615 MB / 0.8507 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7684, allocations: 4 kB / 0.8507 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7684, allocations: 0 / 0.8507 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.7684, allocations: 0 / 0.8507 GB, free: 14.91 MB / 0.5762 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.0008048/0.7692, allocations: 0.5934 MB / 0.8513 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.7693, allocations: 8 kB / 0.8513 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.7704, allocations: 163.5 kB / 0.8515 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.7707, allocations: 299.3 kB / 0.8518 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.7708, allocations: 19.53 kB / 0.8518 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.7708, allocations: 21.91 kB / 0.8518 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.7713, allocations: 282.3 kB / 0.8521 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.7713, allocations: 6.875 kB / 0.8521 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.7713, allocations: 11.98 kB / 0.8521 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7714, allocations: 7.906 kB / 0.8521 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.7718, allocations: 207.5 kB / 0.8523 GB, free: 13.68 MB / 0.5762 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.001384/0.7731, allocations: 1.215 MB / 0.8535 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.7734, allocations: 138.6 kB / 0.8536 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.7736, allocations: 96.42 kB / 0.8537 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.7742, allocations: 317.8 kB / 0.854 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7742, allocations: 45.33 kB / 0.854 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.7742, allocations: 0 / 0.854 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000729/0.775, allocations: 289.9 kB / 0.8543 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.775, allocations: 54.31 kB / 0.8544 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.7754, allocations: 324 kB / 0.8547 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.7754, allocations: 25.7 kB / 0.8547 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.7755, allocations: 180.8 kB / 0.8549 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.7756, allocations: 63.14 kB / 0.8549 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.7756, allocations: 22.75 kB / 0.855 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7757, allocations: 336.7 kB / 0.8553 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.7759, allocations: 77.19 kB / 0.8554 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.7761, allocations: 129.7 kB / 0.8555 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.7765, allocations: 201.5 kB / 0.8557 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7765, allocations: 0 / 0.8557 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004582/0.7769, allocations: 242.8 kB / 0.8559 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.777, allocations: 5.031 kB / 0.8559 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.777, allocations: 6.859 kB / 0.8559 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.777, allocations: 2.531 kB / 0.8559 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.7772, allocations: 45.05 kB / 0.856 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.7772, allocations: 10.94 kB / 0.856 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.7774, allocations: 36.2 kB / 0.856 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.7775, allocations: 12.77 kB / 0.856 GB, free: 10.64 MB / 0.5762 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.0001434/0.7776, allocations: 155.6 kB / 0.8562 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.7777, allocations: 28.72 kB / 0.8562 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.7781, allocations: 232.6 kB / 0.8564 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7781, allocations: 2.875 kB / 0.8564 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7782, allocations: 0 / 0.8564 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.7782, allocations: 0 / 0.8564 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000983/0.7792, allocations: 0.694 MB / 0.8571 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7792, allocations: 6.844 kB / 0.8571 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.7793, allocations: 36.66 kB / 0.8571 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7793, allocations: 2.844 kB / 0.8571 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.7794, allocations: 9.094 kB / 0.8572 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7794, allocations: 3.938 kB / 0.8572 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.7794, allocations: 4.016 kB / 0.8572 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.78, allocations: 455.4 kB / 0.8576 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.7801, allocations: 118.8 kB / 0.8577 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.7802, allocations: 8.562 kB / 0.8577 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.7804, allocations: 23.55 kB / 0.8577 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.7804, allocations: 17.55 kB / 0.8578 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.7804, allocations: 9.719 kB / 0.8578 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002009/0.7806, allocations: 227.4 kB / 0.858 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7806, allocations: 0 / 0.858 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003678/0.781, allocations: 81.89 kB / 0.8581 GB, free: 9.094 MB / 0.5762 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.0003177/0.7813, allocations: 174.8 kB / 0.8582 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.7817, allocations: 176.2 kB / 0.8584 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7818, allocations: 0 / 0.8584 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.7819, allocations: 93.02 kB / 0.8585 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.7829, allocations: 167.9 kB / 0.8586 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009066/0.7838, allocations: 0.7286 MB / 0.8594 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.7841, allocations: 0.7791 MB / 0.8601 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.7844, allocations: 66.2 kB / 0.8602 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.7844, allocations: 24.41 kB / 0.8602 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.7844, allocations: 0 / 0.8602 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of Templates: time 0.009353/0.7938, allocations: 5.438 MB / 0.8655 GB, free: 4.75 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)