Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.06896/0.06896, allocations: 9.13 MB / 28.99 MB, free: 344 kB / 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.001494/0.001494, allocations: 91.27 kB / 35.32 MB, free: 0.9414 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.001201/0.001201, allocations: 163.5 kB / 38.73 MB, free: 2.406 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.9694/0.9694, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004119/0.004119, allocations: 0.8187 MB / 276.5 MB, free: 0.7578 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.633/1.633, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.386e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001189/0.001203, allocations: 0.7213 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.001992, allocations: 0.8703 MB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.002027, allocations: 3.938 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 6.222e-05/0.00209, allocations: 11.92 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.002149, allocations: 11.92 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 6.832e-05/0.002217, allocations: 15.92 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.002298, allocations: 75.81 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.092e-05/0.002369, allocations: 19.92 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.002429, allocations: 51.89 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.002494, allocations: 39.89 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.002509, allocations: 12 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.002518, allocations: 4 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.002552, allocations: 31.91 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.002576, allocations: 23.97 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.002692, allocations: 63.8 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.002694, allocations: 0 / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002694, allocations: 0 / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.002697, allocations: 0 / 0.6398 GB, free: 12.13 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002661/0.002963, allocations: 280.7 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.002989, allocations: 11.98 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.003015, allocations: 16.92 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.003117, allocations: 125.6 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.003133, allocations: 8.359 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.003143, allocations: 8.375 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.003275, allocations: 104.6 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.003281, allocations: 192 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.003289, allocations: 8.312 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003294, allocations: 384 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.003333, allocations: 23.91 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.003637, allocations: 295.1 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.446e-05/0.003691, allocations: 53.09 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.003714, allocations: 17.77 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.003724, allocations: 4 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.003741, allocations: 30.56 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.003742, allocations: 0 / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001216/0.003864, allocations: 57.88 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.003889, allocations: 81.11 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.003951, allocations: 123 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.003961, allocations: 25.7 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.003992, allocations: 99.98 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.004005, allocations: 7.938 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.004033, allocations: 21.7 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.004097, allocations: 318.8 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.004111, allocations: 4 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.004134, allocations: 21.66 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.004178, allocations: 36.53 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.004179, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.815e-05/0.004237, allocations: 49.66 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.004245, allocations: 8 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004249, allocations: 3.984 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.004261, allocations: 3.984 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.00433, allocations: 15.98 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.004332, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.004359, allocations: 8.062 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.004364, allocations: 0 / 0.6416 GB, free: 10.1 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.597e-05/0.00442, allocations: 124.6 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.004448, allocations: 7.938 kB / 0.6417 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.535e-05/0.004463, allocations: 7.625 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.004466, allocations: 4 kB / 0.6417 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.004467, allocations: 0 / 0.6417 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.004469, allocations: 3.938 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.004587, allocations: 89.81 kB / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.004588, allocations: 4 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.004629, allocations: 15.98 kB / 0.6418 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.004631, allocations: 3.938 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.004637, allocations: 7.922 kB / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004638, allocations: 0 / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004639, allocations: 0 / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.739e-05/0.004736, allocations: 218.8 kB / 0.642 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.004743, allocations: 3.984 kB / 0.6421 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.004752, allocations: 3.938 kB / 0.6421 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.004813, allocations: 8 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.004852, allocations: 23.91 kB / 0.6421 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.004857, allocations: 4 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.442e-05/0.004871, allocations: 16.89 kB / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004871, allocations: 0 / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001428/0.005014, allocations: 15.95 kB / 0.6421 GB, free: 9.5 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 6.704e-05/0.005081, allocations: 80.41 kB / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.005146, allocations: 24.78 kB / 0.6422 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.005148, allocations: 128 / 0.6422 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.005306, allocations: 28.84 kB / 0.6422 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.005474, allocations: 11.98 kB / 0.6423 GB, free: 9.34 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.005718, allocations: 183.7 kB / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.005755, allocations: 63.34 kB / 0.6425 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.005782, allocations: 8.125 kB / 0.6425 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.005843, allocations: 63.36 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of SimCode: time 5e-07/0.005843, allocations: 3.938 kB / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of Templates: time 0.002318/0.008162, allocations: 1.267 MB / 0.6438 GB, free: 7.711 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.310976197943091]