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.0009722/0.0009722, 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.009626/0.009626, 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 1.007/1.007, 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.889/1.889, allocations: 389.6 MB / 0.6356 GB, free: 12.2 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 5.11e-06/5.11e-06, allocations: 0.5469 kB / 0.7756 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.716e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003444/0.003471, allocations: 1.893 MB / 0.7774 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.005609, allocations: 1.231 MB / 0.7786 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.005711, allocations: 0 / 0.7786 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.006051, allocations: 65.25 kB / 0.7787 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.0064, allocations: 112.9 kB / 0.7788 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.006943, allocations: 204 kB / 0.779 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.007188, allocations: 150.8 kB / 0.7791 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.00729, allocations: 18.97 kB / 0.7791 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.00745, allocations: 91.66 kB / 0.7792 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.007571, allocations: 56.5 kB / 0.7793 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.007594, allocations: 8.531 kB / 0.7793 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.007805, allocations: 79.86 kB / 0.7794 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.007884, allocations: 44.44 kB / 0.7794 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.007941, allocations: 33.36 kB / 0.7794 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.008234, allocations: 171.4 kB / 0.7796 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.008238, allocations: 0 / 0.7796 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.443e-06/0.008239, allocations: 0 / 0.7796 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.008244, allocations: 1.125 kB / 0.7796 GB, free: 1.012 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.0005588/0.008802, allocations: 397.4 kB / 0.78 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.008848, allocations: 13.34 kB / 0.78 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.008896, allocations: 17.73 kB / 0.78 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.00915, allocations: 173.4 kB / 0.7802 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.009171, allocations: 1.031 kB / 0.7802 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.009189, allocations: 8.375 kB / 0.7802 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.009357, allocations: 74.44 kB / 0.7803 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.009367, allocations: 5.469 kB / 0.7803 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.009378, allocations: 4 kB / 0.7803 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.009399, allocations: 0 / 0.7803 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.009442, allocations: 11.98 kB / 0.7803 GB, free: 268 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.009807, allocations: 190.5 kB / 0.7805 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.009976, allocations: 109 kB / 0.7806 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.01001, allocations: 14.3 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.01002, allocations: 3.938 kB / 0.7806 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.01014, allocations: 70.19 kB / 0.7807 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.01014, allocations: 0.6562 kB / 0.7807 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001675/0.01031, allocations: 75.33 kB / 0.7807 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.01034, allocations: 55.39 kB / 0.7808 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01054, allocations: 224.1 kB / 0.781 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01056, allocations: 25.7 kB / 0.781 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.01061, allocations: 104.5 kB / 0.7811 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.01064, allocations: 28.59 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.01069, allocations: 29.69 kB / 0.7812 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.0108, allocations: 327.3 kB / 0.7815 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.01083, allocations: 11.56 kB / 0.7815 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.01088, allocations: 52.28 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.01096, allocations: 52.8 kB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01096, allocations: 0 / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000131/0.01109, allocations: 81.55 kB / 0.7817 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.0111, allocations: 4 kB / 0.7817 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.01111, allocations: 0.9062 kB / 0.7817 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.01112, allocations: 4 kB / 0.7817 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.01121, allocations: 13.73 kB / 0.7817 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01122, allocations: 4 kB / 0.7817 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.01127, allocations: 0 / 0.7817 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.01128, allocations: 4 kB / 0.7817 GB, free: 14.68 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 0.0001036/0.01138, allocations: 122.1 kB / 0.7818 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.01141, allocations: 19.91 kB / 0.7818 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.01158, allocations: 80.09 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.0116, allocations: 4 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.0116, allocations: 0.625 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01161, allocations: 1.125 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.01175, allocations: 105.8 kB / 0.782 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01175, allocations: 0 / 0.782 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.0118, allocations: 12.7 kB / 0.782 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01181, allocations: 0 / 0.782 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01182, allocations: 4.719 kB / 0.782 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.01182, allocations: 4 kB / 0.782 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01182, allocations: 0.9375 kB / 0.782 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.01197, allocations: 102.7 kB / 0.7821 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.012, allocations: 11.91 kB / 0.7822 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.01202, allocations: 8.469 kB / 0.7822 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.01207, allocations: 8.547 kB / 0.7822 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.01211, allocations: 13.3 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01213, allocations: 4 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.71e-05/0.01222, allocations: 75.61 kB / 0.7823 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01222, allocations: 0 / 0.7823 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002273/0.01245, allocations: 32.88 kB / 0.7823 GB, free: 14.03 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.001649/0.0141, allocations: 0.5219 MB / 0.7828 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.01423, allocations: 36.84 kB / 0.7828 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.01424, allocations: 1.375 kB / 0.7828 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.01429, allocations: 32.77 kB / 0.7829 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.01449, allocations: 38.27 kB / 0.7829 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.01498, allocations: 274.7 kB / 0.7832 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.01503, allocations: 71.83 kB / 0.7832 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.576e-05/0.0151, allocations: 22.66 kB / 0.7833 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.0152, allocations: 76.14 kB / 0.7833 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.0152, allocations: 0.5312 kB / 0.7833 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.006484/0.02169, allocations: 2.852 MB / 0.7861 GB, free: 10.47 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.141680656932294]