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.001325/0.001325, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009659/0.0009659, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9308/0.9308, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.908/1.908, allocations: 389.6 MB / 0.6354 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 2.064e-06/2.064e-06, allocations: 0 / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.737e-05, allocations: 3.906 kB / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0115/0.01153, allocations: 8.751 MB / 0.7838 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006255/0.01778, allocations: 3.323 MB / 0.787 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009047/0.01869, allocations: 41.12 kB / 0.7871 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.01935, allocations: 174.6 kB / 0.7872 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.02115, allocations: 0.6615 MB / 0.7879 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.0227, allocations: 0.6352 MB / 0.7885 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.02485, allocations: 1.606 MB / 0.7901 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.02594, allocations: 405.5 kB / 0.7904 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.02738, allocations: 0.7487 MB / 0.7912 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007068/0.02809, allocations: 378.8 kB / 0.7915 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.0282, allocations: 49 kB / 0.7916 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.02894, allocations: 275.3 kB / 0.7918 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.02912, allocations: 154 kB / 0.792 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.02942, allocations: 211.5 kB / 0.7922 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.0307, allocations: 0.6229 MB / 0.7928 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.0307, allocations: 0 / 0.7928 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.453e-06/0.03071, allocations: 0 / 0.7928 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.03072, allocations: 0 / 0.7928 GB, free: 3.363 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.001306/0.03202, allocations: 0.7592 MB / 0.7935 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.03207, allocations: 9.344 kB / 0.7935 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.03235, allocations: 88.78 kB / 0.7936 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.03311, allocations: 416 kB / 0.794 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.03314, allocations: 29.38 kB / 0.7941 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.03321, allocations: 40.38 kB / 0.7941 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.03373, allocations: 395.5 kB / 0.7945 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.03375, allocations: 0 / 0.7945 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.03379, allocations: 16 kB / 0.7945 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.03382, allocations: 12 kB / 0.7945 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.03406, allocations: 125.7 kB / 0.7946 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.03589, allocations: 1.114 MB / 0.7957 GB, free: 280 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.03622, allocations: 184.3 kB / 0.7959 GB, free: 84 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.0363, allocations: 60.34 kB / 0.7959 GB, free: 20 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.03658, allocations: 77.33 kB / 0.796 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.03661, allocations: 30.56 kB / 0.796 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 2.885e-06/0.03661, allocations: 0.5625 kB / 0.796 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.000348/0.03696, allocations: 165 kB / 0.7962 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.03699, allocations: 57.25 kB / 0.7963 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.03733, allocations: 360.9 kB / 0.7966 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.03736, allocations: 29.7 kB / 0.7966 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.03749, allocations: 229.4 kB / 0.7968 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.03756, allocations: 103.1 kB / 0.7969 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.03767, allocations: 67.02 kB / 0.797 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.03779, allocations: 362.6 kB / 0.7974 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.03787, allocations: 39.41 kB / 0.7974 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.03801, allocations: 178.7 kB / 0.7976 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.03823, allocations: 159.6 kB / 0.7977 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.03823, allocations: 0 / 0.7977 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002948/0.03852, allocations: 190 kB / 0.7979 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.03854, allocations: 5.062 kB / 0.7979 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.03855, allocations: 7.938 kB / 0.7979 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.03857, allocations: 4 kB / 0.7979 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.03882, allocations: 76.67 kB / 0.798 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.03882, allocations: 1 kB / 0.798 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.039, allocations: 27.78 kB / 0.798 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.03903, allocations: 12.91 kB / 0.798 GB, free: 13.76 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 0.0001339/0.03916, allocations: 132.5 kB / 0.7982 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.03923, allocations: 36.55 kB / 0.7982 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.0397, allocations: 272.7 kB / 0.7984 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.03971, allocations: 4 kB / 0.7984 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.03971, allocations: 1 kB / 0.7985 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002787/0.03999, allocations: 387 kB / 0.7988 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.04107, allocations: 0.6905 MB / 0.7995 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.04108, allocations: 1.938 kB / 0.7995 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.04129, allocations: 55.91 kB / 0.7995 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.0413, allocations: 4 kB / 0.7996 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.04132, allocations: 8 kB / 0.7996 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.04132, allocations: 4.656 kB / 0.7996 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.04133, allocations: 7.875 kB / 0.7996 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.04178, allocations: 419.8 kB / 0.8 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.04192, allocations: 64.16 kB / 0.8 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.04196, allocations: 8 kB / 0.8 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.04215, allocations: 9.25 kB / 0.8001 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.04219, allocations: 27.98 kB / 0.8001 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.04222, allocations: 15.98 kB / 0.8001 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001758/0.0424, allocations: 153.9 kB / 0.8002 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.0424, allocations: 0 / 0.8002 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006084/0.04301, allocations: 187.5 kB / 0.8004 GB, free: 11.15 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.000357/0.04336, allocations: 175.5 kB / 0.8006 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.04364, allocations: 145.8 kB / 0.8007 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.04365, allocations: 4.906 kB / 0.8007 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.04378, allocations: 93.67 kB / 0.8008 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.04465, allocations: 245.2 kB / 0.8011 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.04624, allocations: 0.8694 MB / 0.8019 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.04635, allocations: 127.5 kB / 0.802 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003092/0.04666, allocations: 90.38 kB / 0.8021 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/0.04716, allocations: 231.8 kB / 0.8023 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.04716, allocations: 0.5312 kB / 0.8023 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of Templates: time 0.01412/0.06128, allocations: 10.65 MB / 0.8127 GB, free: 14.78 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.188777718693018]