Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001251/0.001251, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001684/0.001684, allocations: 161.4 kB / 24.16 MB, free: 332 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.9676/0.9676, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.884/1.884, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.489e-05, allocations: 6.938 kB / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002849/0.002874, allocations: 1.883 MB / 0.777 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.004416, allocations: 1.234 MB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.004505, allocations: 0 / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.004862, allocations: 66.64 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.005184, allocations: 111.2 kB / 0.7784 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.005657, allocations: 200.4 kB / 0.7786 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.005858, allocations: 160.9 kB / 0.7788 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/0.005952, allocations: 18.28 kB / 0.7788 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.006064, allocations: 91.73 kB / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.006151, allocations: 58.55 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.006167, allocations: 8 kB / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.006324, allocations: 79.86 kB / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.006383, allocations: 39.86 kB / 0.779 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.006424, allocations: 35.84 kB / 0.7791 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.006625, allocations: 171.4 kB / 0.7792 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006628, allocations: 0 / 0.7792 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.006629, allocations: 3.719 kB / 0.7792 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.006634, allocations: 0 / 0.7792 GB, free: 1.227 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000445/0.007079, allocations: 397.5 kB / 0.7796 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.007115, allocations: 13.34 kB / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.007151, allocations: 12.92 kB / 0.7796 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.007335, allocations: 173.3 kB / 0.7798 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.007354, allocations: 8.359 kB / 0.7798 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.007364, allocations: 4.375 kB / 0.7798 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.007485, allocations: 73.69 kB / 0.7799 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.007494, allocations: 5 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.0075, allocations: 4 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.007518, allocations: 0 / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.007547, allocations: 12.48 kB / 0.7799 GB, free: 488 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.007822, allocations: 190.8 kB / 0.7801 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.007925, allocations: 109.4 kB / 0.7802 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.007944, allocations: 12.86 kB / 0.7802 GB, free: 144 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.007958, allocations: 4.75 kB / 0.7802 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.668e-05/0.008045, allocations: 74.19 kB / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/0.008048, allocations: 5.391 kB / 0.7803 GB, free: 48 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001374/0.008185, allocations: 73.59 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.008209, allocations: 51.41 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.008344, allocations: 224.6 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.008358, allocations: 29.69 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.008397, allocations: 98.2 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.008423, allocations: 31.77 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.008454, allocations: 25.7 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.00854, allocations: 330.8 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.008558, allocations: 11.33 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.836e-05/0.008596, allocations: 53.48 kB / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.008651, allocations: 47.28 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008653, allocations: 1.406 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.446e-05/0.008737, allocations: 80.36 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.008747, allocations: 4 kB / 0.7813 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.008754, allocations: 4.594 kB / 0.7813 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.008765, allocations: 1.344 kB / 0.7813 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.008827, allocations: 11.94 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.008831, allocations: 4 kB / 0.7813 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.008864, allocations: 3.984 kB / 0.7813 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.00887, allocations: 4.531 kB / 0.7813 GB, free: 14.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.037e-05/0.008951, allocations: 122.7 kB / 0.7814 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.008968, allocations: 19.92 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.009087, allocations: 83.62 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.009096, allocations: 4.531 kB / 0.7816 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.009098, allocations: 0.6875 kB / 0.7816 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.009101, allocations: 0 / 0.7816 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.009201, allocations: 103.4 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009203, allocations: 0 / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.009228, allocations: 7.984 kB / 0.7817 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.009229, allocations: 0 / 0.7817 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.009238, allocations: 11.94 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.009239, allocations: 1.125 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009239, allocations: 0 / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.009322, allocations: 95.59 kB / 0.7818 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.009341, allocations: 19.89 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.00936, allocations: 7.938 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.009381, allocations: 1.031 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.009412, allocations: 7.984 kB / 0.7818 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.00942, allocations: 4 kB / 0.7818 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.009479, allocations: 76.8 kB / 0.7819 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/0.00948, allocations: 0 / 0.7819 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001563/0.009636, allocations: 35.92 kB / 0.7819 GB, free: 14.25 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001268/0.0109, allocations: 0.529 MB / 0.7824 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.01102, allocations: 36.84 kB / 0.7825 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.01103, allocations: 7.938 kB / 0.7825 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.01106, allocations: 28.77 kB / 0.7825 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.0112, allocations: 38.52 kB / 0.7825 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.01155, allocations: 277.4 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.0116, allocations: 77.22 kB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.503e-05/0.01164, allocations: 18.77 kB / 0.7829 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.01172, allocations: 79.36 kB / 0.783 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01172, allocations: 0 / 0.783 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.004834/0.01655, allocations: 2.839 MB / 0.7857 GB, free: 10.69 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.188189433887601]