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.0008403/0.0008403, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.0009078/0.0009078, allocations: 165.5 kB / 24.96 MB, free: 8.129 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.942/0.942, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.847/1.847, allocations: 389.6 MB / 0.6361 GB, free: 12.31 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.603e-06/1.603e-06, allocations: 0 / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.249e-05, allocations: 2.312 kB / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.007685/0.007708, allocations: 8.762 MB / 0.7845 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004623/0.01233, allocations: 3.311 MB / 0.7878 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.01269, allocations: 39.69 kB / 0.7878 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.01313, allocations: 183.9 kB / 0.788 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.01415, allocations: 0.6532 MB / 0.7886 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.01499, allocations: 0.643 MB / 0.7893 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.01606, allocations: 1.595 MB / 0.7908 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006215/0.01668, allocations: 406.3 kB / 0.7912 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006714/0.01735, allocations: 0.7428 MB / 0.7919 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.0177, allocations: 386.8 kB / 0.7923 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.01775, allocations: 48 kB / 0.7923 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.0181, allocations: 265.2 kB / 0.7926 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.0182, allocations: 155.4 kB / 0.7927 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.01836, allocations: 211.5 kB / 0.7929 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.01894, allocations: 0.6229 MB / 0.7936 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01894, allocations: 0 / 0.7936 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01894, allocations: 3.031 kB / 0.7936 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.01895, allocations: 0 / 0.7936 GB, free: 3.391 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.0007672/0.01971, allocations: 0.7601 MB / 0.7943 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.01975, allocations: 9.344 kB / 0.7943 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.0199, allocations: 84.8 kB / 0.7944 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.02034, allocations: 425.1 kB / 0.7948 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.02036, allocations: 33.36 kB / 0.7948 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.02041, allocations: 45.03 kB / 0.7949 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.02078, allocations: 388.5 kB / 0.7952 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.0208, allocations: 0.8438 kB / 0.7952 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.02082, allocations: 16 kB / 0.7953 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.02084, allocations: 16.59 kB / 0.7953 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.02099, allocations: 120.9 kB / 0.7954 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.02209, allocations: 1.114 MB / 0.7965 GB, free: 300 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.02231, allocations: 189.1 kB / 0.7967 GB, free: 100 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.02236, allocations: 47.67 kB / 0.7967 GB, free: 48 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.02252, allocations: 68.47 kB / 0.7968 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.02254, allocations: 43.27 kB / 0.7968 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.02254, allocations: 0 / 0.7968 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.0003698/0.02291, allocations: 166.3 kB / 0.797 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.02294, allocations: 59.34 kB / 0.797 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.02315, allocations: 356.9 kB / 0.7974 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.02317, allocations: 30.64 kB / 0.7974 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.02327, allocations: 229.4 kB / 0.7976 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.02332, allocations: 103.8 kB / 0.7977 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.02338, allocations: 69.95 kB / 0.7978 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.02347, allocations: 363.7 kB / 0.7981 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.02351, allocations: 31.47 kB / 0.7982 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.0236, allocations: 177.2 kB / 0.7983 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.02373, allocations: 161.1 kB / 0.7985 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02373, allocations: 0 / 0.7985 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001821/0.02392, allocations: 193.9 kB / 0.7987 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.02393, allocations: 4 kB / 0.7987 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.02393, allocations: 5.062 kB / 0.7987 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.02394, allocations: 7.938 kB / 0.7987 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.0241, allocations: 76.92 kB / 0.7988 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.02411, allocations: 4 kB / 0.7988 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.482e-05/0.0242, allocations: 27.78 kB / 0.7988 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.02422, allocations: 12.92 kB / 0.7988 GB, free: 13.78 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.878e-05/0.02431, allocations: 141.2 kB / 0.7989 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.02435, allocations: 35.95 kB / 0.799 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.02464, allocations: 260.4 kB / 0.7992 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.02464, allocations: 4.891 kB / 0.7992 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.02465, allocations: 4 kB / 0.7992 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001741/0.02482, allocations: 383.8 kB / 0.7996 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.02547, allocations: 0.6983 MB / 0.8003 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.02548, allocations: 0.9375 kB / 0.8003 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.02586, allocations: 51.91 kB / 0.8003 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.02587, allocations: 4.906 kB / 0.8003 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.02588, allocations: 11.98 kB / 0.8003 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02588, allocations: 4.812 kB / 0.8003 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.02589, allocations: 3.938 kB / 0.8003 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.02617, allocations: 415.6 kB / 0.8007 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.02625, allocations: 68.98 kB / 0.8008 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.02627, allocations: 11.98 kB / 0.8008 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.02637, allocations: 8 kB / 0.8008 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.0264, allocations: 27.83 kB / 0.8009 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.02642, allocations: 12.59 kB / 0.8009 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001036/0.02652, allocations: 152.5 kB / 0.801 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02652, allocations: 0 / 0.801 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002888/0.02681, allocations: 187.5 kB / 0.8012 GB, free: 11.17 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.0002347/0.02705, allocations: 186.5 kB / 0.8014 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.02722, allocations: 136.7 kB / 0.8015 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.02722, allocations: 4 kB / 0.8015 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.0273, allocations: 85.67 kB / 0.8016 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.02784, allocations: 259.4 kB / 0.8018 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02885, allocations: 0.8674 MB / 0.8027 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.061e-05/0.02892, allocations: 121.8 kB / 0.8028 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.02908, allocations: 86.2 kB / 0.8029 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.0294, allocations: 231.1 kB / 0.8031 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.0294, allocations: 0 / 0.8031 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of Templates: time 0.01124/0.04065, allocations: 10.67 MB / 0.8135 GB, free: 14.79 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.134380365721881]