Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.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.04799/0.04799, allocations: 9.132 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.0008554/0.0008554, allocations: 87.28 kB / 35.33 MB, free: 1.086 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.001056/0.001056, allocations: 161.2 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.932/0.932, allocations: 177.1 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.01184/0.01184, allocations: 0.8302 MB / 276.5 MB, free: 0.7383 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.636/1.636, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6379 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.229e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Or): time 0.001074/0.001087, allocations: 0.6571 MB / 0.6385 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002213, allocations: 1.252 MB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.002243, allocations: 0 / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.002264, allocations: 7.938 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.002319, allocations: 11.88 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.002706, allocations: 211.5 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.002855, allocations: 175.6 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.002912, allocations: 7.984 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.003008, allocations: 95.86 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.003092, allocations: 51.91 kB / 0.6403 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.003115, allocations: 16 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.369e-05/0.003169, allocations: 27.94 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.003189, allocations: 15.97 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.003233, allocations: 43.97 kB / 0.6404 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.003363, allocations: 135.6 kB / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003364, allocations: 0 / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003365, allocations: 0 / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003369, allocations: 3.984 kB / 0.6405 GB, free: 11.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002826/0.003651, allocations: 335.8 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.003679, allocations: 15.98 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.003708, allocations: 12.92 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.578e-05/0.003774, allocations: 113.7 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.003785, allocations: 4.375 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.003803, allocations: 12.38 kB / 0.641 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.495e-05/0.003858, allocations: 38.25 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.003864, allocations: 4.125 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.003871, allocations: 4.359 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003875, allocations: 4.375 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.218e-05/0.003887, allocations: 7.938 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.004099, allocations: 180.2 kB / 0.6412 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.004142, allocations: 30.52 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.004156, allocations: 12.92 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-06/0.004161, allocations: 4.031 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/0.004231, allocations: 79.3 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004232, allocations: 0 / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001037/0.004336, allocations: 77.58 kB / 0.6414 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.004369, allocations: 59.34 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.004431, allocations: 122.6 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.004449, allocations: 29.7 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.004485, allocations: 100.1 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.004494, allocations: 11.91 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.004546, allocations: 45.67 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.004612, allocations: 314.8 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.00468, allocations: 99.38 kB / 0.6421 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.004753, allocations: 131.6 kB / 0.6423 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.004842, allocations: 135.6 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.004843, allocations: 0 / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001698/0.005013, allocations: 260.3 kB / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.005046, allocations: 71.39 kB / 0.6427 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.005051, allocations: 3.938 kB / 0.6427 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005062, allocations: 3.938 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.357e-05/0.005076, allocations: 4 kB / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.005079, allocations: 0 / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.005214, allocations: 44.11 kB / 0.6428 GB, free: 8.836 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.005232, allocations: 15.98 kB / 0.6428 GB, free: 8.82 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 6.244e-05/0.005295, allocations: 121.8 kB / 0.6429 GB, free: 8.691 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.005303, allocations: 7.984 kB / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.005321, allocations: 12.38 kB / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005323, allocations: 0 / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.005324, allocations: 0 / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005328, allocations: 3.938 kB / 0.6429 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.954e-05/0.005387, allocations: 81.88 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005388, allocations: 0 / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-06/0.005391, allocations: 4 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.005392, allocations: 0 / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.005397, allocations: 3.984 kB / 0.643 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005398, allocations: 7.938 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.0054, allocations: 3.938 kB / 0.643 GB, free: 8.547 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.746e-05/0.005458, allocations: 81.09 kB / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.005464, allocations: 3.953 kB / 0.6431 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.005472, allocations: 4 kB / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.005482, allocations: 4 kB / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.005503, allocations: 7.922 kB / 0.6431 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.005506, allocations: 4 kB / 0.6431 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.308e-05/0.005519, allocations: 24.77 kB / 0.6431 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005519, allocations: 0 / 0.6431 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001222/0.005641, allocations: 32 kB / 0.6432 GB, free: 8.367 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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 7.902e-05/0.00572, allocations: 80.41 kB / 0.6432 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.0059, allocations: 255 kB / 0.6435 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.005902, allocations: 0 / 0.6435 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.058e-05/0.005922, allocations: 24.83 kB / 0.6435 GB, free: 7.965 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.562e-05/0.006018, allocations: 24.17 kB / 0.6435 GB, free: 7.941 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.006213, allocations: 145.3 kB / 0.6437 GB, free: 7.77 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.666e-05/0.00624, allocations: 59.34 kB / 0.6437 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.006257, allocations: 11.98 kB / 0.6437 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.006346, allocations: 79.28 kB / 0.6438 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of SimCode: time 2.7e-07/0.006347, allocations: 0 / 0.6438 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of Templates: time 0.003109/0.009455, allocations: 2.229 MB / 0.646 GB, free: 5.367 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.441545403096825]