Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.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.04281/0.04281, 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.0009309/0.0009309, allocations: 87.28 kB / 35.32 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.001194/0.001194, allocations: 163.6 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.9479/0.9479, allocations: 177.1 MB / 219.2 MB, free: 10.08 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.0041/0.0041, allocations: 0.8258 MB / 276.5 MB, free: 0.707 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.686/1.686, 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.455e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Change): time 0.001842/0.001867, allocations: 0.7875 MB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.003329, allocations: 1.225 MB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.003379, allocations: 0 / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.003406, allocations: 7.938 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.003479, allocations: 7.875 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.003911, allocations: 135.5 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.00407, allocations: 115.8 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.004148, allocations: 15.97 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.004264, allocations: 67.89 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.004342, allocations: 31.94 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.004363, allocations: 12 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.004435, allocations: 23.98 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.004456, allocations: 15.94 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.004506, allocations: 35.89 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.00465, allocations: 95.75 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004652, allocations: 0 / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004653, allocations: 0 / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.004657, allocations: 0 / 0.6404 GB, free: 11.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003941/0.005051, allocations: 306 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.005088, allocations: 15.98 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.005124, allocations: 12.86 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.005208, allocations: 121.7 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005221, allocations: 8.375 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.005238, allocations: 8.375 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.005347, allocations: 66.88 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.005355, allocations: 192 / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.005362, allocations: 384 / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005368, allocations: 384 / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.005402, allocations: 15.92 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.005713, allocations: 180.2 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.518e-05/0.005798, allocations: 38.5 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.005819, allocations: 12.98 kB / 0.6412 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.005826, allocations: 4 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.965e-05/0.005925, allocations: 67.44 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.005927, allocations: 0 / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001382/0.006065, allocations: 73.55 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.006096, allocations: 55.41 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.006173, allocations: 130.5 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.006195, allocations: 29.7 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.006235, allocations: 96.12 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.006257, allocations: 19.83 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.006315, allocations: 33.69 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.006403, allocations: 322.8 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.006462, allocations: 49.69 kB / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.006534, allocations: 89.97 kB / 0.6421 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.894e-05/0.006633, allocations: 101.8 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006635, allocations: 0 / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001831/0.006818, allocations: 177 kB / 0.6423 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.00685, allocations: 37.69 kB / 0.6424 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006856, allocations: 0 / 0.6424 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.006871, allocations: 7.938 kB / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.00694, allocations: 11.94 kB / 0.6424 GB, free: 9.207 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.006943, allocations: 0 / 0.6424 GB, free: 9.207 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.007046, allocations: 31.92 kB / 0.6424 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.007062, allocations: 12.12 kB / 0.6424 GB, free: 9.164 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.702e-05/0.007139, allocations: 117.8 kB / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.007152, allocations: 4 kB / 0.6426 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.007178, allocations: 12.44 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.007183, allocations: 3.938 kB / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.007184, allocations: 0 / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.007188, allocations: 3.984 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.007393, allocations: 214.8 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007394, allocations: 0 / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.007429, allocations: 11.98 kB / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007431, allocations: 4 kB / 0.6428 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.007439, allocations: 7.922 kB / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007441, allocations: 400 / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007442, allocations: 3.938 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.007544, allocations: 151.5 kB / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.007558, allocations: 15.88 kB / 0.643 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.007576, allocations: 7.938 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/0.007632, allocations: 7.984 kB / 0.643 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.007664, allocations: 7.984 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.007669, allocations: 0 / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.896e-05/0.007688, allocations: 20.86 kB / 0.643 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.007688, allocations: 0 / 0.643 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002245/0.007912, allocations: 23.98 kB / 0.643 GB, free: 8.504 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001156/0.008028, allocations: 84.36 kB / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.008203, allocations: 157.8 kB / 0.6433 GB, free: 8.238 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.008206, allocations: 0 / 0.6433 GB, free: 8.238 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.008241, allocations: 16.86 kB / 0.6433 GB, free: 8.219 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.008429, allocations: 20.23 kB / 0.6433 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.008697, allocations: 157.1 kB / 0.6435 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.008732, allocations: 59.34 kB / 0.6435 GB, free: 7.938 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.008758, allocations: 4 kB / 0.6435 GB, free: 7.934 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.008844, allocations: 71.36 kB / 0.6436 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of SimCode: time 6.51e-07/0.008845, allocations: 0 / 0.6436 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of Templates: time 0.00368/0.01252, allocations: 1.666 MB / 0.6452 GB, free: 6.203 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.583454470150173]