Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 157.7 kB / 22.76 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002736/0.002736, allocations: 230.3 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.053/1.053, allocations: 138.5 MB / 454.7 MB, free: 1.477 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.553e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.03108/0.03111, allocations: 21.42 MB / 0.5753 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009106/0.04021, allocations: 4.742 MB / 0.5799 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008251/0.04104, allocations: 39.69 kB / 0.5799 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.04208, allocations: 285.9 kB / 0.5802 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.0446, allocations: 0.8584 MB / 0.581 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.04677, allocations: 0.8062 MB / 0.5818 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.04926, allocations: 1.649 MB / 0.5834 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.05013, allocations: 418.1 kB / 0.5838 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.05243, allocations: 0.8468 MB / 0.5847 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008704/0.0533, allocations: 398.7 kB / 0.585 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.05342, allocations: 48 kB / 0.5851 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.05458, allocations: 426.9 kB / 0.5855 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.05484, allocations: 151.4 kB / 0.5856 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.05523, allocations: 211.5 kB / 0.5858 GB, free: 484 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.05694, allocations: 0.9502 MB / 0.5868 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.05695, allocations: 8 kB / 0.5868 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.05695, allocations: 0 / 0.5868 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.05697, allocations: 0 / 0.5868 GB, free: 15.51 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001744/0.05871, allocations: 0.8275 MB / 0.5876 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.05876, allocations: 12.75 kB / 0.5876 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.05918, allocations: 112.4 kB / 0.5877 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.06054, allocations: 0.5381 MB / 0.5882 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.06057, allocations: 29.38 kB / 0.5883 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.176e-05/0.06067, allocations: 52.31 kB / 0.5883 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.06158, allocations: 0.5017 MB / 0.5888 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.06161, allocations: 3.984 kB / 0.5888 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.06165, allocations: 16 kB / 0.5888 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.06168, allocations: 11.94 kB / 0.5888 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.06226, allocations: 299.8 kB / 0.5891 GB, free: 13.02 MB / 0.5105 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.003018/0.06528, allocations: 1.459 MB / 0.5905 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.06589, allocations: 242.8 kB / 0.5908 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.06611, allocations: 108.8 kB / 0.5909 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/0.06665, allocations: 107.9 kB / 0.591 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.06669, allocations: 38.56 kB / 0.591 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.06669, allocations: 0 / 0.591 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0008495/0.06754, allocations: 369.2 kB / 0.5914 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.06759, allocations: 51.41 kB / 0.5914 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.06816, allocations: 397.9 kB / 0.5918 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.06821, allocations: 33.7 kB / 0.5918 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.06846, allocations: 280.4 kB / 0.5921 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.06857, allocations: 99.23 kB / 0.5922 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.0687, allocations: 74.02 kB / 0.5923 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.06892, allocations: 350.7 kB / 0.5926 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.06912, allocations: 96.61 kB / 0.5927 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.06944, allocations: 249.2 kB / 0.5929 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.07019, allocations: 282.7 kB / 0.5932 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.07019, allocations: 0 / 0.5932 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006877/0.07088, allocations: 369.1 kB / 0.5935 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.0709, allocations: 8 kB / 0.5936 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.07091, allocations: 0 / 0.5936 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.07093, allocations: 4 kB / 0.5936 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.07122, allocations: 75.89 kB / 0.5936 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.07124, allocations: 16.09 kB / 0.5936 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.07149, allocations: 27.78 kB / 0.5937 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.07154, allocations: 16 kB / 0.5937 GB, free: 8.145 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.000236/0.07177, allocations: 181.7 kB / 0.5939 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.07189, allocations: 55.72 kB / 0.5939 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009058/0.0728, allocations: 476.5 kB / 0.5944 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.07281, allocations: 12 kB / 0.5944 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.07282, allocations: 4 kB / 0.5944 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007417/0.07356, allocations: 0.5686 MB / 0.5949 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.07551, allocations: 0.9477 MB / 0.5959 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.07552, allocations: 7.938 kB / 0.5959 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.07576, allocations: 48.16 kB / 0.5959 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.07576, allocations: 4 kB / 0.5959 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.0758, allocations: 15.94 kB / 0.5959 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.07581, allocations: 11.92 kB / 0.5959 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/0.07582, allocations: 4 kB / 0.596 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.0769, allocations: 0.6652 MB / 0.5966 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.0771, allocations: 91.58 kB / 0.5967 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.07717, allocations: 11.94 kB / 0.5967 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.07744, allocations: 15.98 kB / 0.5967 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.07749, allocations: 28.09 kB / 0.5967 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.07753, allocations: 19.98 kB / 0.5968 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004008/0.07793, allocations: 279.1 kB / 0.597 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.07794, allocations: 0 / 0.597 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007302/0.07867, allocations: 207.5 kB / 0.5972 GB, free: 4.348 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0006213/0.07929, allocations: 294.6 kB / 0.5975 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005875/0.07987, allocations: 287.9 kB / 0.5978 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.07988, allocations: 0 / 0.5978 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.08015, allocations: 159.3 kB / 0.5979 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.08145, allocations: 264.3 kB / 0.5982 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.0835, allocations: 1.003 MB / 0.5992 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.08383, allocations: 266.2 kB / 0.5994 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003624/0.08419, allocations: 108.2 kB / 0.5995 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.08432, allocations: 48.48 kB / 0.5996 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.08432, allocations: 0 / 0.5996 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of Templates: time 0.1864/0.2707, allocations: 10.82 MB / 0.6101 GB, free: 101.4 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.209527238970622]