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.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001484/0.001484, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 274.9 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 102.2 kB / 0.6057 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1815, allocations: 89.15 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5025/0.6841, allocations: 165.1 MB / 0.854 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.6871, allocations: 1.571 MB / 0.8556 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.6875, allocations: 15.94 kB / 0.8556 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.688, allocations: 114.8 kB / 0.8557 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.6897, allocations: 0.6684 MB / 0.8563 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.6912, allocations: 0.544 MB / 0.8569 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009903/0.6922, allocations: 0.9681 MB / 0.8578 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.6925, allocations: 196.6 kB / 0.858 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.6932, allocations: 310.8 kB / 0.8583 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.6935, allocations: 232.9 kB / 0.8585 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.6935, allocations: 14.59 kB / 0.8585 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.6953, allocations: 1.007 MB / 0.8595 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.6955, allocations: 102.9 kB / 0.8596 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.6956, allocations: 158.4 kB / 0.8598 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.6968, allocations: 0.7601 MB / 0.8605 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6968, allocations: 0 / 0.8605 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.51e-07/0.6968, allocations: 0 / 0.8605 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.6969, allocations: 0 / 0.8605 GB, free: 11.79 MB / 0.5919 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.001102/0.698, allocations: 0.6575 MB / 0.8611 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.698, allocations: 14.14 kB / 0.8612 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.6992, allocations: 151.8 kB / 0.8613 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.6997, allocations: 301.4 kB / 0.8616 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.6997, allocations: 18.56 kB / 0.8616 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.6998, allocations: 23.28 kB / 0.8616 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.7003, allocations: 274.1 kB / 0.8619 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.7003, allocations: 3.938 kB / 0.8619 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.7004, allocations: 10.81 kB / 0.8619 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7004, allocations: 4.719 kB / 0.8619 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.7008, allocations: 201.2 kB / 0.8621 GB, free: 10.53 MB / 0.5919 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.001574/0.7024, allocations: 1.211 MB / 0.8633 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.7027, allocations: 140.3 kB / 0.8634 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.7029, allocations: 90.14 kB / 0.8635 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/0.7036, allocations: 304.6 kB / 0.8638 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.7037, allocations: 38.5 kB / 0.8638 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.7037, allocations: 0 / 0.8638 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008129/0.7045, allocations: 282.6 kB / 0.8641 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.7046, allocations: 51.41 kB / 0.8642 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.7049, allocations: 316.3 kB / 0.8645 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.7049, allocations: 32.39 kB / 0.8645 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.7051, allocations: 186.5 kB / 0.8647 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.7052, allocations: 51.23 kB / 0.8647 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.7052, allocations: 47.23 kB / 0.8648 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7054, allocations: 338.4 kB / 0.8651 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.7056, allocations: 61.39 kB / 0.8651 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.7059, allocations: 131.8 kB / 0.8653 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.7062, allocations: 187.8 kB / 0.8654 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7063, allocations: 6.812 kB / 0.8655 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000461/0.7067, allocations: 237 kB / 0.8657 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7068, allocations: 4.781 kB / 0.8657 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7068, allocations: 2.875 kB / 0.8657 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7068, allocations: 0 / 0.8657 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.707, allocations: 46.44 kB / 0.8657 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.707, allocations: 2.781 kB / 0.8657 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.7073, allocations: 36.77 kB / 0.8658 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.7073, allocations: 9.375 kB / 0.8658 GB, free: 7.484 MB / 0.5919 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.0001693/0.7075, allocations: 161.1 kB / 0.8659 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.7076, allocations: 30.75 kB / 0.866 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.708, allocations: 213.7 kB / 0.8662 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7081, allocations: 2.125 kB / 0.8662 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7081, allocations: 0 / 0.8662 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7081, allocations: 0 / 0.8662 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.7092, allocations: 0.6857 MB / 0.8668 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7092, allocations: 3.344 kB / 0.8668 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.7094, allocations: 33.2 kB / 0.8669 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.7094, allocations: 6.203 kB / 0.8669 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.7094, allocations: 10.78 kB / 0.8669 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.7094, allocations: 2.75 kB / 0.8669 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7094, allocations: 2.312 kB / 0.8669 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007069/0.7101, allocations: 433.3 kB / 0.8673 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.7103, allocations: 123.7 kB / 0.8674 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.7103, allocations: 10.66 kB / 0.8674 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.7105, allocations: 14.86 kB / 0.8674 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.7106, allocations: 21.27 kB / 0.8675 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.7106, allocations: 7.531 kB / 0.8675 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002389/0.7109, allocations: 226.5 kB / 0.8677 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7109, allocations: 0 / 0.8677 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004088/0.7113, allocations: 81.41 kB / 0.8678 GB, free: 5.949 MB / 0.5919 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.000413/0.7117, allocations: 187.4 kB / 0.8679 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.7121, allocations: 169.1 kB / 0.8681 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7121, allocations: 0 / 0.8681 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.7123, allocations: 85.25 kB / 0.8682 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/0.7132, allocations: 160.2 kB / 0.8683 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.7143, allocations: 0.6836 MB / 0.869 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.7147, allocations: 0.7773 MB / 0.8698 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.715, allocations: 70.14 kB / 0.8698 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.715, allocations: 22.09 kB / 0.8699 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.715, allocations: 0 / 0.8699 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of Templates: time 0.01102/0.7261, allocations: 5.474 MB / 0.8752 GB, free: 1.109 MB / 0.5919 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)