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.0007509/0.0007509, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001805, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007127/0.0007127, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009238/0.001636, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9389/0.9389, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07688/1.016, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 249.2 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.003338, allocations: 463.6 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6565/0.6565, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07244/0.7289, allocations: 42.4 MB / 426.5 MB, free: 5.941 MB / 410.7 MB " [Timeout remaining time 179] 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.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 2.715e-06/2.715e-06, allocations: 3.984 kB / 427.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.478e-06/1.219e-05, allocations: 2.312 kB / 427.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.1835/0.1835, allocations: 8.722 MB / 436.5 MB, free: 292 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.188, allocations: 3.346 MB / 439.9 MB, free: 15 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.1885, allocations: 36.62 kB / 439.9 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.1889, allocations: 190.5 kB / 440.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.19, allocations: 0.6621 MB / 440.8 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.191, allocations: 0.6307 MB / 441.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.1925, allocations: 1.616 MB / 443 MB, free: 13.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006721/0.1931, allocations: 435.7 kB / 443.4 MB, free: 13.19 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000923/0.1941, allocations: 0.8058 MB / 444.2 MB, free: 12.88 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.1945, allocations: 401.9 kB / 444.6 MB, free: 12.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.1945, allocations: 44.72 kB / 444.7 MB, free: 12.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.195, allocations: 268.7 kB / 444.9 MB, free: 12.67 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1951, allocations: 116.2 kB / 445.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.1952, allocations: 181.7 kB / 445.2 MB, free: 12.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.1958, allocations: 0.5621 MB / 445.8 MB, free: 12.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.509e-05/0.1959, allocations: 5.406 kB / 445.8 MB, free: 12.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1959, allocations: 0 / 445.8 MB, free: 12.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.1959, allocations: 1.844 kB / 445.8 MB, free: 12.43 MB / 426.7 MB 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.0009673/0.1969, allocations: 0.9077 MB / 446.7 MB, free: 11.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.594e-05/0.1969, allocations: 10.12 kB / 446.7 MB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.1971, allocations: 166 kB / 446.9 MB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.1976, allocations: 427.4 kB / 447.3 MB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1976, allocations: 30.53 kB / 447.3 MB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.1976, allocations: 38.97 kB / 447.4 MB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.198, allocations: 391 kB / 447.8 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.198, allocations: 4.531 kB / 447.8 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.198, allocations: 18.62 kB / 447.8 MB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.198, allocations: 9.938 kB / 447.8 MB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1982, allocations: 123.3 kB / 447.9 MB, free: 11.18 MB / 426.7 MB 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.001185/0.1993, allocations: 1.121 MB / 449 MB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1996, allocations: 184.5 kB / 449.2 MB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.1996, allocations: 47.02 kB / 449.3 MB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.1998, allocations: 70.78 kB / 449.3 MB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1998, allocations: 43.11 kB / 449.4 MB, free: 10.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.1998, allocations: 0 / 449.4 MB, free: 10.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002188/0.2, allocations: 173.3 kB / 449.5 MB, free: 10.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.2, allocations: 53.97 kB / 449.6 MB, free: 9.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.2003, allocations: 353.4 kB / 449.9 MB, free: 9.746 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2003, allocations: 32.55 kB / 450 MB, free: 9.711 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2004, allocations: 237.1 kB / 450.2 MB, free: 9.508 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.2004, allocations: 95.38 kB / 450.3 MB, free: 9.426 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.2005, allocations: 72.3 kB / 450.4 MB, free: 9.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.2006, allocations: 351.9 kB / 450.7 MB, free: 9.031 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.2006, allocations: 33.09 kB / 450.7 MB, free: 9.023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.2007, allocations: 175.4 kB / 450.9 MB, free: 8.848 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.201, allocations: 162.4 kB / 451.1 MB, free: 8.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.201, allocations: 1 kB / 451.1 MB, free: 8.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002112/0.2012, allocations: 197.2 kB / 451.3 MB, free: 8.641 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2012, allocations: 9.531 kB / 451.3 MB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2012, allocations: 5.156 kB / 451.3 MB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.2012, allocations: 6.719 kB / 451.3 MB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.2014, allocations: 85.52 kB / 451.4 MB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2014, allocations: 3.031 kB / 451.4 MB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2015, allocations: 31.48 kB / 451.4 MB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.2016, allocations: 16.55 kB / 451.4 MB, free: 8.586 MB / 426.7 MB 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 9.228e-05/0.2016, allocations: 130.1 kB / 451.5 MB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.2017, allocations: 35.81 kB / 451.6 MB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.202, allocations: 264.5 kB / 451.8 MB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.202, allocations: 4.516 kB / 451.8 MB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.202, allocations: 0 / 451.8 MB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001931/0.2022, allocations: 391.1 kB / 452.2 MB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.2029, allocations: 0.6921 MB / 452.9 MB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2029, allocations: 0 / 452.9 MB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.203, allocations: 59.91 kB / 453 MB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.2031, allocations: 75.5 kB / 453 MB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2031, allocations: 7.156 kB / 453 MB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2031, allocations: 8 kB / 453.1 MB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2032, allocations: 3.938 kB / 453.1 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2032, allocations: 4.812 kB / 453.1 MB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.2034, allocations: 416.6 kB / 453.5 MB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.2035, allocations: 7.984 kB / 453.5 MB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2036, allocations: 14.75 kB / 453.5 MB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.2036, allocations: 31.83 kB / 453.5 MB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2036, allocations: 8 kB / 453.5 MB, free: 6.727 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.2037, allocations: 155.5 kB / 453.7 MB, free: 6.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2037, allocations: 1.281 kB / 453.7 MB, free: 6.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.2041, allocations: 179.6 kB / 453.9 MB, free: 6.395 MB / 426.7 MB 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002276/0.2043, allocations: 181.5 kB / 454 MB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.2045, allocations: 141.5 kB / 454.2 MB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.2045, allocations: 8 kB / 454.2 MB, free: 6.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.2046, allocations: 93.52 kB / 454.3 MB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/0.2052, allocations: 299.4 kB / 454.6 MB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.2089, allocations: 0.8764 MB / 455.4 MB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.698e-05/0.209, allocations: 129.8 kB / 455.6 MB, free: 4.648 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.2093, allocations: 93.44 kB / 455.7 MB, free: 4.574 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.2096, allocations: 231.7 kB / 455.9 MB, free: 4.348 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2096, allocations: 5.688 kB / 455.9 MB, free: 4.344 MB / 426.7 MB Notification: Performance of Templates: time 0.01515/0.2247, allocations: 11.3 MB / 467.2 MB, free: 9.719 MB / 442.7 MB " [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: 3.724020568653941]