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.0009389/0.0009389, allocations: 92.31 kB / 20.19 MB, free: 4.355 MB / 18.57 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.0009575/0.0009575, allocations: 169 kB / 23.49 MB, free: 1.051 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 0.9444/0.9444, allocations: 177.1 MB / 203.8 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.001638/0.001638, allocations: 239.8 kB / 260.5 MB, free: 12.75 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 0.7368/0.7368, allocations: 138.4 MB / 455.4 MB, free: 1.551 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 3.236e-06/3.236e-06, allocations: 4 kB / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.227e-05, allocations: 5.828 kB / 0.5551 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.03696/0.03699, allocations: 24.06 MB / 0.5785 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006406/0.04339, allocations: 5.182 MB / 0.5836 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007142/0.04411, allocations: 47.62 kB / 0.5837 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007689/0.04488, allocations: 289.9 kB / 0.5839 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.04667, allocations: 0.8468 MB / 0.5848 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.0484, allocations: 0.8101 MB / 0.5856 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.05017, allocations: 1.656 MB / 0.5872 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.05069, allocations: 410.1 kB / 0.5876 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.05198, allocations: 0.8361 MB / 0.5884 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.05249, allocations: 410.7 kB / 0.5888 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.05255, allocations: 48 kB / 0.5888 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.05343, allocations: 414.9 kB / 0.5892 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.05356, allocations: 155.3 kB / 0.5894 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.05375, allocations: 223.5 kB / 0.5896 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.0548, allocations: 0.7319 MB / 0.5903 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.0548, allocations: 0 / 0.5903 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.805e-06/0.05481, allocations: 8 kB / 0.5903 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.05482, allocations: 0 / 0.5903 GB, free: 12.63 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.001092/0.05591, allocations: 0.9272 MB / 0.5912 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.05595, allocations: 8.75 kB / 0.5912 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.05622, allocations: 100.5 kB / 0.5913 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.05699, allocations: 0.5376 MB / 0.5918 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.05701, allocations: 29.38 kB / 0.5919 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.05707, allocations: 40.36 kB / 0.5919 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.05753, allocations: 423.9 kB / 0.5923 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.05755, allocations: 0 / 0.5923 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.05758, allocations: 19.98 kB / 0.5923 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.05762, allocations: 12 kB / 0.5923 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.05788, allocations: 169.8 kB / 0.5925 GB, free: 10.27 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.001671/0.05955, allocations: 1.602 MB / 0.5941 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.0599, allocations: 151.4 kB / 0.5942 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.118e-05/0.05999, allocations: 67.59 kB / 0.5943 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.06025, allocations: 95.91 kB / 0.5944 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.06028, allocations: 41.38 kB / 0.5944 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.06028, allocations: 0 / 0.5944 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0004326/0.06071, allocations: 240.6 kB / 0.5946 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.06075, allocations: 59.41 kB / 0.5947 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.06109, allocations: 422.6 kB / 0.5951 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.06112, allocations: 33.7 kB / 0.5951 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.06128, allocations: 315.2 kB / 0.5954 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.06134, allocations: 107.1 kB / 0.5955 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.06143, allocations: 79.62 kB / 0.5956 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.06157, allocations: 0.5274 MB / 0.5961 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.06165, allocations: 48.56 kB / 0.5962 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.06179, allocations: 211.9 kB / 0.5964 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.06202, allocations: 197.4 kB / 0.5965 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.06202, allocations: 0 / 0.5965 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003335/0.06235, allocations: 265.3 kB / 0.5968 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.06237, allocations: 16.16 kB / 0.5968 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.06237, allocations: 0 / 0.5968 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.06239, allocations: 4 kB / 0.5968 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.06255, allocations: 71.91 kB / 0.5969 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.06256, allocations: 7.984 kB / 0.5969 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.06269, allocations: 23.84 kB / 0.5969 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.06271, allocations: 16 kB / 0.5969 GB, free: 5.48 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.0001189/0.06283, allocations: 180.4 kB / 0.5971 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.0629, allocations: 51.72 kB / 0.5972 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.06336, allocations: 344.6 kB / 0.5975 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.06337, allocations: 4 kB / 0.5975 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.06338, allocations: 4 kB / 0.5975 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000302/0.06368, allocations: 446.3 kB / 0.5979 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.06466, allocations: 0.8658 MB / 0.5988 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.06466, allocations: 0 / 0.5988 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.0648, allocations: 51.91 kB / 0.5988 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.0648, allocations: 4 kB / 0.5988 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.06482, allocations: 11.94 kB / 0.5988 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.06483, allocations: 8 kB / 0.5988 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.06483, allocations: 3.984 kB / 0.5988 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.06534, allocations: 0.5134 MB / 0.5993 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.06545, allocations: 87.59 kB / 0.5994 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.06549, allocations: 11.94 kB / 0.5994 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.06562, allocations: 11.98 kB / 0.5994 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.06565, allocations: 27.95 kB / 0.5995 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.06568, allocations: 19.98 kB / 0.5995 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001986/0.06588, allocations: 275.1 kB / 0.5998 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.06588, allocations: 0 / 0.5998 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000494/0.06637, allocations: 215.3 kB / 0.6 GB, free: 2.184 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.0003742/0.06674, allocations: 282.5 kB / 0.6002 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.06703, allocations: 188.5 kB / 0.6004 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.06703, allocations: 4 kB / 0.6004 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.06716, allocations: 116.1 kB / 0.6005 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.06786, allocations: 268.2 kB / 0.6008 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.06918, allocations: 0.931 MB / 0.6017 GB, free: 356 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.068e-05/0.06927, allocations: 133.8 kB / 0.6018 GB, free: 200 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.06949, allocations: 96.19 kB / 0.6019 GB, free: 104 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.06957, allocations: 52.48 kB / 0.602 GB, free: 52 kB / 0.5105 GB Notification: Performance of SimCode: time 6.72e-07/0.06957, allocations: 0 / 0.602 GB, free: 52 kB / 0.5105 GB Notification: Performance of Templates: time 0.1945/0.2641, allocations: 10.83 MB / 0.6125 GB, free: 101.7 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.127359593985602]