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.001166/0.001166, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001258/0.001258, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.895/0.895, allocations: 177.1 MB / 205.5 MB, free: 5.469 MB / 186.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.903/1.903, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 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 1.823e-06/1.823e-06, allocations: 0 / 0.7762 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.073e-05, allocations: 9.203 kB / 0.7762 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.007189/0.007209, allocations: 8.755 MB / 0.7847 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.01062, allocations: 3.297 MB / 0.7879 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.01088, allocations: 35.69 kB / 0.788 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.01128, allocations: 178.6 kB / 0.7881 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007883/0.01207, allocations: 0.6579 MB / 0.7888 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.01275, allocations: 0.6353 MB / 0.7894 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.01375, allocations: 1.595 MB / 0.791 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005747/0.01433, allocations: 411 kB / 0.7913 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006252/0.01495, allocations: 0.7458 MB / 0.7921 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.01528, allocations: 382.8 kB / 0.7924 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.01533, allocations: 49.5 kB / 0.7925 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.01565, allocations: 275.3 kB / 0.7928 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.01574, allocations: 147.4 kB / 0.7929 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.0161, allocations: 215.5 kB / 0.7931 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.01664, allocations: 0.6196 MB / 0.7937 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.01664, allocations: 0 / 0.7937 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01664, allocations: 1.25 kB / 0.7937 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.01665, allocations: 0 / 0.7937 GB, free: 3.309 MB / 0.7448 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.0006809/0.01733, allocations: 0.7654 MB / 0.7945 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.01736, allocations: 9.344 kB / 0.7945 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.0175, allocations: 91.41 kB / 0.7945 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.01791, allocations: 410.2 kB / 0.7949 GB, free: 2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.01793, allocations: 31.09 kB / 0.795 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.01797, allocations: 40.38 kB / 0.795 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.01827, allocations: 388.5 kB / 0.7954 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01828, allocations: 0 / 0.7954 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.0183, allocations: 16 kB / 0.7954 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.01832, allocations: 21.33 kB / 0.7954 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.01846, allocations: 117.7 kB / 0.7955 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.01954, allocations: 1.123 MB / 0.7966 GB, free: 216 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.01976, allocations: 183.7 kB / 0.7968 GB, free: 20 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.01982, allocations: 55.7 kB / 0.7969 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.01997, allocations: 69.53 kB / 0.7969 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.01999, allocations: 38.56 kB / 0.797 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.01999, allocations: 1.469 kB / 0.797 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.0002228/0.02022, allocations: 169 kB / 0.7971 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.02024, allocations: 59.34 kB / 0.7972 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.02045, allocations: 357.4 kB / 0.7975 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.02047, allocations: 33.7 kB / 0.7975 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.02055, allocations: 226.1 kB / 0.7978 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.0206, allocations: 99.14 kB / 0.7979 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.02067, allocations: 75.77 kB / 0.7979 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.02075, allocations: 358.6 kB / 0.7983 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.02079, allocations: 31.47 kB / 0.7983 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.02088, allocations: 177.2 kB / 0.7985 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.02102, allocations: 160.7 kB / 0.7986 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02102, allocations: 0 / 0.7986 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001824/0.02121, allocations: 193.9 kB / 0.7988 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.02122, allocations: 8 kB / 0.7988 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.02122, allocations: 1 kB / 0.7988 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.02123, allocations: 4 kB / 0.7988 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.02139, allocations: 80.8 kB / 0.7989 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.02139, allocations: 4 kB / 0.7989 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.02149, allocations: 24.38 kB / 0.7989 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.02151, allocations: 17 kB / 0.7989 GB, free: 13.7 MB / 0.7605 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 8.518e-05/0.02159, allocations: 132.5 kB / 0.7991 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.02163, allocations: 32.88 kB / 0.7991 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.02193, allocations: 279.6 kB / 0.7994 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.02194, allocations: 5.469 kB / 0.7994 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.02194, allocations: 0 / 0.7994 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001773/0.02212, allocations: 391.1 kB / 0.7997 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.0228, allocations: 0.6871 MB / 0.8004 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.0228, allocations: 0 / 0.8004 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.02293, allocations: 52.56 kB / 0.8005 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.02294, allocations: 5.062 kB / 0.8005 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.02295, allocations: 8 kB / 0.8005 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.02295, allocations: 4 kB / 0.8005 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.02296, allocations: 4.5 kB / 0.8005 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.02327, allocations: 424 kB / 0.8009 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.02335, allocations: 67.56 kB / 0.801 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.02337, allocations: 10.38 kB / 0.801 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.02348, allocations: 15.92 kB / 0.801 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.02351, allocations: 31.84 kB / 0.801 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.02353, allocations: 7.984 kB / 0.801 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001036/0.02363, allocations: 155.5 kB / 0.8012 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02363, allocations: 0 / 0.8012 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002934/0.02392, allocations: 180.5 kB / 0.8013 GB, free: 11.09 MB / 0.7605 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.0002872/0.02421, allocations: 176.8 kB / 0.8015 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.02439, allocations: 137.5 kB / 0.8016 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.02439, allocations: 8 kB / 0.8016 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.02448, allocations: 93.89 kB / 0.8017 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.02502, allocations: 250.7 kB / 0.802 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.02602, allocations: 0.8719 MB / 0.8028 GB, free: 9.531 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.02609, allocations: 121.8 kB / 0.8029 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.02626, allocations: 83.64 kB / 0.803 GB, free: 9.316 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.0267, allocations: 234.1 kB / 0.8032 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/0.0267, allocations: 0 / 0.8032 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.01179/0.0385, allocations: 10.66 MB / 0.8137 GB, free: 14.7 MB / 0.7761 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.075519562698901]