Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.04549/0.04549, allocations: 9.129 MB / 28.99 MB, free: 0.8125 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.001087/0.001087, allocations: 94.64 kB / 35.33 MB, free: 1.066 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.0012/0.0012, allocations: 168.4 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.9486/0.9486, allocations: 177.2 MB / 219.2 MB, free: 10.13 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.005944/0.005944, allocations: 0.833 MB / 276.5 MB, free: 0.75 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.621/1.621, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 4 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.781e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001332/0.00135, allocations: 0.6297 MB / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.002667, allocations: 1.182 MB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.002717, allocations: 7.938 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.232e-05/0.00281, allocations: 7.938 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.002885, allocations: 7.938 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.003218, allocations: 119.6 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.003433, allocations: 191.6 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.003519, allocations: 7.938 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.003635, allocations: 107.9 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.00378, allocations: 79.84 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.003811, allocations: 16 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.447e-05/0.003875, allocations: 23.98 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.003922, allocations: 27.91 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.003995, allocations: 63.94 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.004192, allocations: 175.6 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004195, allocations: 7.938 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004195, allocations: 0 / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.004199, allocations: 0 / 0.6404 GB, free: 11.48 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.0006652/0.004864, allocations: 343.7 kB / 0.6408 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.004897, allocations: 11.98 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.004946, allocations: 16.92 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.005107, allocations: 129.7 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.00512, allocations: 4.375 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.005155, allocations: 32.28 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.935e-05/0.005245, allocations: 63.94 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.005252, allocations: 192 / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.005262, allocations: 4.359 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.005269, allocations: 4.375 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.005291, allocations: 15.88 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.005583, allocations: 284.4 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.005633, allocations: 45.22 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.005647, allocations: 13.78 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.005652, allocations: 3.938 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.005755, allocations: 101 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.005755, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001336/0.005889, allocations: 77.59 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002828/0.006172, allocations: 77.11 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.006248, allocations: 138.5 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.006274, allocations: 33.7 kB / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.006323, allocations: 100.1 kB / 0.6419 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.006334, allocations: 3.953 kB / 0.6419 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.00642, allocations: 53.66 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.006496, allocations: 314.8 kB / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.006591, allocations: 99.38 kB / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.006698, allocations: 140.4 kB / 0.6424 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.006826, allocations: 148.4 kB / 0.6426 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006828, allocations: 0 / 0.6426 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002513/0.007079, allocations: 264.2 kB / 0.6428 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.007118, allocations: 67.58 kB / 0.6429 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.007124, allocations: 4 kB / 0.6429 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.007135, allocations: 0 / 0.6429 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.68e-05/0.007152, allocations: 4.375 kB / 0.6429 GB, free: 8.617 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.007158, allocations: 7.922 kB / 0.6429 GB, free: 8.609 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.007346, allocations: 47.92 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.007371, allocations: 7.984 kB / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.298e-05/0.007454, allocations: 120.7 kB / 0.6431 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.007469, allocations: 19.92 kB / 0.6431 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.00749, allocations: 7.984 kB / 0.6431 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007492, allocations: 0 / 0.6431 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.007495, allocations: 4 kB / 0.6431 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007498, allocations: 0 / 0.6431 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.893e-05/0.007577, allocations: 77.88 kB / 0.6432 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.007578, allocations: 4 kB / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-06/0.007582, allocations: 0 / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.007584, allocations: 0 / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.007591, allocations: 7.922 kB / 0.6432 GB, free: 8.289 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007592, allocations: 4 kB / 0.6432 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007593, allocations: 8.016 kB / 0.6432 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.99e-05/0.007673, allocations: 85.89 kB / 0.6433 GB, free: 8.172 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-06/0.007683, allocations: 11.89 kB / 0.6433 GB, free: 8.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.007697, allocations: 7.938 kB / 0.6433 GB, free: 8.152 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.621e-05/0.007713, allocations: 4 kB / 0.6433 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.007733, allocations: 3.984 kB / 0.6433 GB, free: 8.145 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.007738, allocations: 4 kB / 0.6433 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.821e-05/0.007756, allocations: 16.84 kB / 0.6433 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007757, allocations: 0 / 0.6433 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002045/0.007961, allocations: 36 kB / 0.6434 GB, free: 8.086 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: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * 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.0001037/0.008065, allocations: 93.22 kB / 0.6435 GB, free: 7.984 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.008296, allocations: 258.9 kB / 0.6437 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.008298, allocations: 0 / 0.6437 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.656e-05/0.008325, allocations: 16.86 kB / 0.6437 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.008449, allocations: 27.84 kB / 0.6438 GB, free: 7.645 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.008711, allocations: 190 kB / 0.6439 GB, free: 7.426 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.008745, allocations: 67.33 kB / 0.644 GB, free: 7.34 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.008765, allocations: 4 kB / 0.644 GB, free: 7.336 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.00889, allocations: 83.28 kB / 0.6441 GB, free: 7.254 MB / 0.6043 GB Notification: Performance of SimCode: time 6.31e-07/0.00889, allocations: 0 / 0.6441 GB, free: 7.254 MB / 0.6043 GB Notification: Performance of Templates: time 0.004203/0.01309, allocations: 2.614 MB / 0.6466 GB, free: 4.633 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.490311875008047]