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.04367/0.04367, allocations: 9.124 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.0009513/0.0009513, allocations: 94.41 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.001305/0.001305, allocations: 164.1 kB / 38.73 MB, free: 2.5 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.9409/0.9409, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004151/0.004151, allocations: 0.8293 MB / 276.5 MB, free: 0.7344 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.786/1.786, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.855e-06/2.855e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/3.05e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001873/0.001904, allocations: 0.5985 MB / 0.6384 GB, free: 13.57 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.003474, allocations: 1.174 MB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.00352, allocations: 0 / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.003549, allocations: 3.938 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.00363, allocations: 7.938 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.004124, allocations: 119.6 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.0043, allocations: 91.81 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.004391, allocations: 4 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.004502, allocations: 51.95 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.004608, allocations: 31.89 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.004637, allocations: 8 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.684e-05/0.004704, allocations: 12 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.004724, allocations: 7.984 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.004768, allocations: 27.97 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.004922, allocations: 75.78 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004925, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.363e-06/0.004926, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.00493, allocations: 0 / 0.64 GB, free: 11.95 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.0003803/0.005311, allocations: 266.3 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.005354, allocations: 23.92 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.005394, allocations: 4.938 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.005493, allocations: 117.7 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.005507, allocations: 4.359 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.005528, allocations: 8.375 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.963e-05/0.005608, allocations: 55.97 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005618, allocations: 4.172 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.005627, allocations: 4.375 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.005632, allocations: 384 / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.082e-05/0.005643, allocations: 3.938 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.005881, allocations: 160.3 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.005929, allocations: 18.58 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.144e-05/0.00594, allocations: 8.844 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-06/0.005944, allocations: 0 / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.006048, allocations: 85.14 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.006049, allocations: 0 / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001261/0.006175, allocations: 53.56 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.006217, allocations: 51.41 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.006293, allocations: 114.7 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.006311, allocations: 25.7 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.006356, allocations: 96.08 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.006366, allocations: 4 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.00642, allocations: 29.69 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.006514, allocations: 318.8 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.006568, allocations: 45.69 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.006631, allocations: 68.27 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.421e-05/0.006716, allocations: 76.17 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006718, allocations: 0 / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000164/0.006882, allocations: 145.1 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.006919, allocations: 45.62 kB / 0.6417 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.006925, allocations: 0 / 0.6417 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.00694, allocations: 3.938 kB / 0.6417 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.462e-05/0.006955, allocations: 0 / 0.6417 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.006962, allocations: 7.938 kB / 0.6417 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.007094, allocations: 19.94 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.007112, allocations: 8.297 kB / 0.6418 GB, free: 9.875 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 8.122e-05/0.007193, allocations: 113.8 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.007205, allocations: 8.031 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.007228, allocations: 4 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.007231, allocations: 3.938 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.007235, allocations: 4 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007238, allocations: 3.984 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.612e-05/0.007315, allocations: 65.91 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007316, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-06/0.007322, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.007324, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.007328, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.00733, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.007333, allocations: 7.984 kB / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.065e-05/0.007423, allocations: 77 kB / 0.642 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-06/0.007431, allocations: 3.984 kB / 0.642 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.00744, allocations: 0 / 0.642 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.007455, allocations: 0 / 0.642 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.007475, allocations: 7.984 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.00748, allocations: 3.938 kB / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.479e-05/0.007495, allocations: 8.859 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.007495, allocations: 0 / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001926/0.007688, allocations: 19.94 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: 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.0001325/0.00782, allocations: 88.41 kB / 0.6422 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.007982, allocations: 130.2 kB / 0.6423 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.007985, allocations: 0 / 0.6423 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.008007, allocations: 16.84 kB / 0.6423 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.008133, allocations: 7.984 kB / 0.6423 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.008386, allocations: 112.8 kB / 0.6424 GB, free: 9.09 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.48e-05/0.00842, allocations: 63.22 kB / 0.6425 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.008442, allocations: 8.188 kB / 0.6425 GB, free: 9 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.008523, allocations: 63.36 kB / 0.6426 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of SimCode: time 8.02e-07/0.008524, allocations: 0 / 0.6426 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of Templates: time 0.003737/0.01226, allocations: 1.307 MB / 0.6438 GB, free: 7.633 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5851839408278465]