Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04587/0.04587, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009563/0.0009563, allocations: 87.28 kB / 35.33 MB, free: 1.074 MB / 24.77 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.002029/0.002029, allocations: 164.5 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9936/0.9936, allocations: 177.1 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004282/0.004282, allocations: 0.8182 MB / 276.5 MB, free: 0.7227 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.681/1.681, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator") translateModel(AixLib.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.775e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.IntegerReplicator): time 0.00602/0.006037, allocations: 1.882 MB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.005021/0.01106, allocations: 1.238 MB / 0.641 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.01116, allocations: 11.88 kB / 0.641 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.01145, allocations: 55.69 kB / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.01175, allocations: 119.4 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.01217, allocations: 195.3 kB / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.01236, allocations: 147.6 kB / 0.6415 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.01245, allocations: 26.27 kB / 0.6415 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.01258, allocations: 91.67 kB / 0.6416 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.01267, allocations: 51.88 kB / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.01269, allocations: 8 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.01286, allocations: 87.8 kB / 0.6417 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.01292, allocations: 39.84 kB / 0.6418 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.01297, allocations: 31.86 kB / 0.6418 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.01626, allocations: 167.5 kB / 0.6419 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01626, allocations: 3.938 kB / 0.6419 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.41e-07/0.01626, allocations: 0 / 0.6419 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.01626, allocations: 4 kB / 0.6419 GB, free: 9.91 MB / 0.6043 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.0005155/0.01678, allocations: 401.4 kB / 0.6423 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.01682, allocations: 15.98 kB / 0.6423 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.01686, allocations: 8.938 kB / 0.6424 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.01708, allocations: 169.5 kB / 0.6425 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.0171, allocations: 384 / 0.6425 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.01711, allocations: 4.375 kB / 0.6425 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.01724, allocations: 73.69 kB / 0.6426 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.01725, allocations: 3.938 kB / 0.6426 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.01726, allocations: 4 kB / 0.6426 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.01727, allocations: 7.984 kB / 0.6426 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.01731, allocations: 8 kB / 0.6426 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.01784, allocations: 201.8 kB / 0.6428 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.01795, allocations: 100.1 kB / 0.6429 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.01798, allocations: 16.84 kB / 0.6429 GB, free: 8.82 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.01799, allocations: 3.938 kB / 0.6429 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.747e-05/0.01809, allocations: 66.2 kB / 0.643 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.01809, allocations: 8.094 kB / 0.643 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001424/0.01823, allocations: 73.59 kB / 0.6431 GB, free: 8.652 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.01826, allocations: 51.41 kB / 0.6431 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.01842, allocations: 220.1 kB / 0.6433 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01844, allocations: 25.7 kB / 0.6433 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.01849, allocations: 108.5 kB / 0.6434 GB, free: 8.219 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.01851, allocations: 19.83 kB / 0.6435 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.01856, allocations: 29.69 kB / 0.6435 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.01865, allocations: 330.8 kB / 0.6438 GB, free: 7.832 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.01867, allocations: 6.828 kB / 0.6438 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.01872, allocations: 72.12 kB / 0.6439 GB, free: 7.738 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.107e-05/0.01878, allocations: 43.34 kB / 0.6439 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01878, allocations: 0 / 0.6439 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.949e-05/0.01888, allocations: 76.38 kB / 0.644 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.01889, allocations: 4 kB / 0.644 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01889, allocations: 0 / 0.644 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01891, allocations: 4 kB / 0.644 GB, free: 7.598 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.02201, allocations: 11.98 kB / 0.644 GB, free: 7.586 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.02202, allocations: 8.062 kB / 0.644 GB, free: 7.578 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.02207, allocations: 7.953 kB / 0.644 GB, free: 7.57 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.02208, allocations: 4 kB / 0.644 GB, free: 7.566 MB / 0.6043 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 9.435e-05/0.02217, allocations: 128.6 kB / 0.6442 GB, free: 7.43 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.0222, allocations: 15.92 kB / 0.6442 GB, free: 7.414 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.02235, allocations: 71.14 kB / 0.6442 GB, free: 7.344 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.02236, allocations: 4 kB / 0.6442 GB, free: 7.34 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.02236, allocations: 0 / 0.6442 GB, free: 7.34 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02236, allocations: 3.984 kB / 0.6443 GB, free: 7.336 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.02249, allocations: 101.8 kB / 0.6443 GB, free: 7.219 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02249, allocations: 8 kB / 0.6444 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.02254, allocations: 7.938 kB / 0.6444 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.02254, allocations: 0 / 0.6444 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.02256, allocations: 11.92 kB / 0.6444 GB, free: 7.191 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.02256, allocations: 0 / 0.6444 GB, free: 7.191 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02256, allocations: 0 / 0.6444 GB, free: 7.191 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.02268, allocations: 90.75 kB / 0.6445 GB, free: 7.082 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.02271, allocations: 15.91 kB / 0.6445 GB, free: 7.066 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.02274, allocations: 11.92 kB / 0.6445 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.02278, allocations: 0 / 0.6445 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.02283, allocations: 23.86 kB / 0.6445 GB, free: 7.031 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.02284, allocations: 4 kB / 0.6445 GB, free: 7.027 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.012e-05/0.02292, allocations: 77 kB / 0.6446 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.02292, allocations: 0 / 0.6446 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001987/0.02312, allocations: 35.89 kB / 0.6446 GB, free: 6.914 MB / 0.6043 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.001281/0.0244, allocations: 0.5206 MB / 0.6451 GB, free: 6.379 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.02451, allocations: 44.77 kB / 0.6452 GB, free: 6.332 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.02451, allocations: 4.062 kB / 0.6452 GB, free: 6.328 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.02456, allocations: 24.84 kB / 0.6452 GB, free: 6.301 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.02472, allocations: 44.7 kB / 0.6452 GB, free: 6.254 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.02818, allocations: 273.5 kB / 0.6455 GB, free: 5.957 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.541e-05/0.02823, allocations: 79.81 kB / 0.6456 GB, free: 5.855 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 6.897e-05/0.0283, allocations: 21.78 kB / 0.6456 GB, free: 5.832 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.02841, allocations: 79.34 kB / 0.6457 GB, free: 5.754 MB / 0.6043 GB Notification: Performance of SimCode: time 7.82e-07/0.02841, allocations: 0 / 0.6457 GB, free: 5.754 MB / 0.6043 GB Notification: Performance of Templates: time 0.0115/0.03991, allocations: 2.842 MB / 0.6485 GB, free: 2.918 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.sim & ./AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.573330824729055]