Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006776/0.0006776, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009774/0.001655, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006964/0.0006964, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009504/0.001647, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.926/0.926, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08262/1.009, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.885/1.885, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4643/2.35, allocations: 127.1 MB / 0.7432 GB, free: 4.602 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.7445 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.513e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01178/0.01181, allocations: 8.797 MB / 0.7531 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006834/0.01864, allocations: 3.323 MB / 0.7563 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.01967, allocations: 36.81 kB / 0.7564 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.02029, allocations: 186.6 kB / 0.7565 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.02219, allocations: 0.6499 MB / 0.7572 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.02393, allocations: 0.6367 MB / 0.7578 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002347/0.02628, allocations: 1.597 MB / 0.7594 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.02741, allocations: 416.3 kB / 0.7598 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.02908, allocations: 0.8075 MB / 0.7605 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007064/0.02979, allocations: 382.7 kB / 0.7609 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.02989, allocations: 44 kB / 0.761 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006895/0.03058, allocations: 270.3 kB / 0.7612 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.03072, allocations: 119.5 kB / 0.7613 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.03098, allocations: 175.7 kB / 0.7615 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.03198, allocations: 0.5684 MB / 0.7621 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.188e-05/0.032, allocations: 3.984 kB / 0.7621 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/0.03201, allocations: 0 / 0.7621 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.083e-05/0.03204, allocations: 3.938 kB / 0.7621 GB, free: 1.344 MB / 0.7292 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.001369/0.0334, allocations: 0.8973 MB / 0.7629 GB, free: 432 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.03344, allocations: 13.5 kB / 0.7629 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.03374, allocations: 165.9 kB / 0.7631 GB, free: 236 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.0345, allocations: 412.5 kB / 0.7635 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.03454, allocations: 29.38 kB / 0.7635 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.03461, allocations: 44.92 kB / 0.7636 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.03511, allocations: 392.5 kB / 0.7639 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.03512, allocations: 0.5625 kB / 0.7639 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.03516, allocations: 21.05 kB / 0.764 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.0352, allocations: 11.98 kB / 0.764 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.03545, allocations: 122.2 kB / 0.7641 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.03724, allocations: 1.118 MB / 0.7652 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.03758, allocations: 187.8 kB / 0.7654 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.03766, allocations: 47.67 kB / 0.7654 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.0379, allocations: 69.8 kB / 0.7655 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.03794, allocations: 42.5 kB / 0.7655 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 3.166e-06/0.03794, allocations: 0.8438 kB / 0.7655 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26): time 0.0003345/0.03827, allocations: 157.7 kB / 0.7657 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.03831, allocations: 63.39 kB / 0.7657 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.03866, allocations: 359.4 kB / 0.7661 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.03869, allocations: 33.69 kB / 0.7661 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.03883, allocations: 225.4 kB / 0.7663 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.03891, allocations: 99.14 kB / 0.7664 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.03902, allocations: 69.95 kB / 0.7665 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.03914, allocations: 358.6 kB / 0.7668 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.03922, allocations: 38.22 kB / 0.7669 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.03938, allocations: 173.2 kB / 0.767 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.03961, allocations: 158 kB / 0.7672 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.03961, allocations: 0 / 0.7672 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003274/0.03994, allocations: 190.1 kB / 0.7674 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.03996, allocations: 6.5 kB / 0.7674 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.03996, allocations: 4.875 kB / 0.7674 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.03998, allocations: 3.984 kB / 0.7674 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.04028, allocations: 88.98 kB / 0.7675 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.04029, allocations: 4 kB / 0.7675 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.04047, allocations: 32.5 kB / 0.7675 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.04051, allocations: 8 kB / 0.7675 GB, free: 11.5 MB / 0.7448 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.0001337/0.04064, allocations: 137.2 kB / 0.7676 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.04071, allocations: 37.03 kB / 0.7677 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.04122, allocations: 263 kB / 0.7679 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.04123, allocations: 8 kB / 0.7679 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.04124, allocations: 0 / 0.7679 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003074/0.04154, allocations: 393.3 kB / 0.7683 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.04267, allocations: 0.6863 MB / 0.769 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.04267, allocations: 0 / 0.769 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.04291, allocations: 60.53 kB / 0.769 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.04304, allocations: 69.27 kB / 0.7691 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.04305, allocations: 4 kB / 0.7691 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.04307, allocations: 15.92 kB / 0.7691 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.04308, allocations: 3.938 kB / 0.7691 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.04308, allocations: 4.5 kB / 0.7691 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.04355, allocations: 416.9 kB / 0.7695 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.0436, allocations: 8 kB / 0.7695 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.04382, allocations: 11.98 kB / 0.7695 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.04386, allocations: 19.91 kB / 0.7696 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.04389, allocations: 15.98 kB / 0.7696 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001853/0.04407, allocations: 151.5 kB / 0.7697 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.04407, allocations: 4 kB / 0.7697 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005675/0.04464, allocations: 179.5 kB / 0.7699 GB, free: 8.895 MB / 0.7448 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 (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.0003733/0.04501, allocations: 180.8 kB / 0.7701 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.0453, allocations: 166.8 kB / 0.7702 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/0.04532, allocations: 8 kB / 0.7702 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.04545, allocations: 90.05 kB / 0.7703 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008978/0.04635, allocations: 289 kB / 0.7706 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.05125, allocations: 0.8809 MB / 0.7714 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.513e-05/0.05134, allocations: 125.8 kB / 0.7716 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.05158, allocations: 87.66 kB / 0.7717 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.05192, allocations: 224 kB / 0.7719 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.05192, allocations: 0 / 0.7719 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of Templates: time 0.01907/0.07099, allocations: 11.06 MB / 0.7827 GB, free: 12.08 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.09487044531852]