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.0008646/0.0008646, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.003908/0.003908, allocations: 161.6 kB / 24.37 MB, free: 8.484 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.9939/0.9939, allocations: 177.2 MB / 204.8 MB, free: 5.391 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.902/1.902, allocations: 389.6 MB / 0.6356 GB, free: 12.22 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 2.033e-06/2.033e-06, allocations: 0 / 0.7756 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.747e-05, allocations: 3.094 kB / 0.7756 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.009412/0.00944, allocations: 8.756 MB / 0.7841 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003968/0.01341, allocations: 3.301 MB / 0.7874 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.01374, allocations: 35.69 kB / 0.7874 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.01426, allocations: 182.6 kB / 0.7876 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000937/0.0152, allocations: 0.6535 MB / 0.7882 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.01605, allocations: 0.6316 MB / 0.7888 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.01724, allocations: 1.599 MB / 0.7904 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007515/0.01799, allocations: 415.5 kB / 0.7908 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/0.0187, allocations: 0.7352 MB / 0.7915 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.01917, allocations: 390.8 kB / 0.7919 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.01923, allocations: 44 kB / 0.7919 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.01961, allocations: 268.9 kB / 0.7922 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.01972, allocations: 155.3 kB / 0.7923 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.01988, allocations: 211.5 kB / 0.7925 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006645/0.02055, allocations: 0.6191 MB / 0.7931 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.02055, allocations: 1.656 kB / 0.7931 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/0.02055, allocations: 0 / 0.7931 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.02056, allocations: 0 / 0.7931 GB, free: 3.191 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.000816/0.02138, allocations: 0.765 MB / 0.7939 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.02142, allocations: 13.34 kB / 0.7939 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.0216, allocations: 83.78 kB / 0.794 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.02208, allocations: 414.2 kB / 0.7944 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.0221, allocations: 31.19 kB / 0.7944 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.02215, allocations: 40.38 kB / 0.7944 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.02249, allocations: 396.5 kB / 0.7948 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.02251, allocations: 4 kB / 0.7948 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.02254, allocations: 16 kB / 0.7948 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.02257, allocations: 9.562 kB / 0.7948 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.02274, allocations: 117.7 kB / 0.795 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.02398, allocations: 1.13 MB / 0.7961 GB, free: 88 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.02425, allocations: 175.8 kB / 0.7962 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.02431, allocations: 60.67 kB / 0.7963 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.02449, allocations: 64.88 kB / 0.7963 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.02452, allocations: 39.41 kB / 0.7964 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.02452, allocations: 3.938 kB / 0.7964 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.0002506/0.02477, allocations: 166.1 kB / 0.7965 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.02481, allocations: 55.41 kB / 0.7966 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.02504, allocations: 356.9 kB / 0.7969 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.02506, allocations: 34.64 kB / 0.797 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.02517, allocations: 229.4 kB / 0.7972 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.02522, allocations: 95.97 kB / 0.7973 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.0253, allocations: 73.95 kB / 0.7974 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.0254, allocations: 356.1 kB / 0.7977 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.02545, allocations: 39.39 kB / 0.7977 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.02557, allocations: 181.1 kB / 0.7979 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.02573, allocations: 156.3 kB / 0.7981 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.02573, allocations: 4 kB / 0.7981 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002159/0.02595, allocations: 190.2 kB / 0.7982 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.02597, allocations: 10.66 kB / 0.7982 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.02597, allocations: 1 kB / 0.7982 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.02598, allocations: 4 kB / 0.7983 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.02617, allocations: 80.8 kB / 0.7983 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.02617, allocations: 7.938 kB / 0.7983 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.02628, allocations: 28.38 kB / 0.7984 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.0263, allocations: 16.98 kB / 0.7984 GB, free: 13.57 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 9.719e-05/0.0264, allocations: 128.5 kB / 0.7985 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.02644, allocations: 36.88 kB / 0.7985 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.02679, allocations: 268.4 kB / 0.7988 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.0268, allocations: 4 kB / 0.7988 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.0268, allocations: 0 / 0.7988 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002198/0.02702, allocations: 392.1 kB / 0.7992 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007616/0.02778, allocations: 0.6876 MB / 0.7998 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.02779, allocations: 0 / 0.7998 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.02793, allocations: 51.91 kB / 0.7999 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.02793, allocations: 4.703 kB / 0.7999 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.02795, allocations: 15.97 kB / 0.7999 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.02795, allocations: 4.656 kB / 0.7999 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.02795, allocations: 3.938 kB / 0.7999 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.0283, allocations: 419.7 kB / 0.8003 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.02839, allocations: 68.34 kB / 0.8004 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.02842, allocations: 8 kB / 0.8004 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.02853, allocations: 14.42 kB / 0.8004 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.02856, allocations: 27.91 kB / 0.8004 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.02858, allocations: 7.984 kB / 0.8004 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001138/0.02869, allocations: 155.5 kB / 0.8006 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02869, allocations: 0 / 0.8006 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003029/0.02899, allocations: 179.5 kB / 0.8008 GB, free: 10.98 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.0002751/0.02927, allocations: 184.3 kB / 0.8009 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.02945, allocations: 146.2 kB / 0.8011 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.02946, allocations: 4.844 kB / 0.8011 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.02955, allocations: 85.97 kB / 0.8012 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.03012, allocations: 250.8 kB / 0.8014 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.03132, allocations: 0.8752 MB / 0.8023 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.154e-05/0.0314, allocations: 123.4 kB / 0.8024 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.03158, allocations: 86.45 kB / 0.8025 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.03191, allocations: 234.5 kB / 0.8027 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of SimCode: time 1.302e-06/0.03191, allocations: 0 / 0.8027 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of Templates: time 0.01232/0.04423, allocations: 10.66 MB / 0.8131 GB, free: 14.58 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 & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.38731359038502]