Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.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.04224/0.04224, allocations: 9.129 MB / 28.99 MB, free: 0.8203 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.0008583/0.0008583, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001035/0.001035, allocations: 164.7 kB / 38.73 MB, free: 2.492 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.9531/0.9531, allocations: 177.2 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.004298/0.004298, allocations: 0.8188 MB / 276.5 MB, free: 0.7148 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.733/1.733, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/3.006e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002272/0.002302, allocations: 0.6534 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.004146, allocations: 1.182 MB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.004204, allocations: 0 / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.004247, allocations: 0 / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.004342, allocations: 11.92 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.004817, allocations: 119.6 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.004978, allocations: 83.83 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.005058, allocations: 8 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.005189, allocations: 51.95 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.882e-05/0.005288, allocations: 27.89 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.005311, allocations: 8 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.005398, allocations: 16 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.00542, allocations: 11.97 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.005461, allocations: 19.98 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.005613, allocations: 71.84 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005616, allocations: 0 / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005617, allocations: 0 / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.005622, allocations: 0 / 0.6401 GB, free: 11.83 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003765/0.005998, allocations: 286.2 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.006037, allocations: 11.98 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.006076, allocations: 4.938 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.006172, allocations: 117.7 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.006186, allocations: 4.375 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.006203, allocations: 8.359 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.006313, allocations: 55.97 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.006325, allocations: 192 / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.006338, allocations: 4.359 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.006349, allocations: 384 / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.00637, allocations: 11.94 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.006628, allocations: 156.3 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.006668, allocations: 14.58 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.209e-05/0.00668, allocations: 12.91 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-06/0.006684, allocations: 0 / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.006802, allocations: 81.08 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.006803, allocations: 0 / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.000123/0.006926, allocations: 57.56 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.006959, allocations: 51.41 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.00704, allocations: 114.7 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.00706, allocations: 29.7 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.0071, allocations: 88.09 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.007108, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.007163, allocations: 29.69 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.00726, allocations: 322.8 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.007314, allocations: 49.62 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.007374, allocations: 68.25 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.456e-05/0.007448, allocations: 72.19 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.007452, allocations: 8 kB / 0.6416 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001544/0.007606, allocations: 141 kB / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.007643, allocations: 37.69 kB / 0.6418 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007649, allocations: 320 / 0.6418 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.007669, allocations: 7.938 kB / 0.6418 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.727e-05/0.007686, allocations: 4 kB / 0.6418 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.007689, allocations: 3.938 kB / 0.6418 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.007824, allocations: 23.94 kB / 0.6419 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.007842, allocations: 3.984 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.497e-05/0.007916, allocations: 121.9 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.007927, allocations: 0 / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.007949, allocations: 4.234 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.007952, allocations: 7.938 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.007957, allocations: 3.984 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.007961, allocations: 3.984 kB / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.291e-05/0.008034, allocations: 65.89 kB / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008035, allocations: 0 / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-06/0.008042, allocations: 0 / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.008046, allocations: 4 kB / 0.6421 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.00805, allocations: 4 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008051, allocations: 0 / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.008054, allocations: 3.984 kB / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.157e-05/0.008136, allocations: 73 kB / 0.6421 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.008144, allocations: 4 kB / 0.6421 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.008153, allocations: 0 / 0.6421 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.008167, allocations: 0 / 0.6421 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.008187, allocations: 3.984 kB / 0.6421 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.008194, allocations: 7.938 kB / 0.6421 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.475e-05/0.008209, allocations: 8.859 kB / 0.6422 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.008209, allocations: 0 / 0.6422 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001984/0.008408, allocations: 23.94 kB / 0.6422 GB, free: 9.375 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000129/0.008537, allocations: 84.41 kB / 0.6423 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.008709, allocations: 133.8 kB / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.008712, allocations: 0 / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.008731, allocations: 8.859 kB / 0.6424 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.008877, allocations: 15.97 kB / 0.6424 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.009125, allocations: 109 kB / 0.6425 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.009161, allocations: 63.3 kB / 0.6426 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.009184, allocations: 7.984 kB / 0.6426 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.009271, allocations: 63.36 kB / 0.6426 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of SimCode: time 8.52e-07/0.009272, allocations: 0 / 0.6426 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of Templates: time 0.003256/0.01253, allocations: 1.303 MB / 0.6439 GB, free: 7.516 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.477014068048447]