Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.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.0454/0.0454, allocations: 9.13 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.003392/0.003392, allocations: 87.28 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.001194/0.001194, allocations: 166.7 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.938/0.938, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.003711/0.003711, allocations: 0.8293 MB / 276.5 MB, free: 0.7578 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.608/1.608, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.358e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001185/0.001199, allocations: 0.7442 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.002315, allocations: 1.205 MB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.002354, allocations: 0 / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.002379, allocations: 7.875 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.002447, allocations: 15.92 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.002787, allocations: 135.6 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.002912, allocations: 115.8 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.584e-05/0.002978, allocations: 15.91 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.003073, allocations: 67.89 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.003294, allocations: 35.92 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.003315, allocations: 12 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.107e-05/0.003366, allocations: 23.94 kB / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.003387, allocations: 15.92 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.003424, allocations: 35.97 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003543, allocations: 91.75 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003545, allocations: 0 / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003545, allocations: 0 / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.003548, allocations: 0 / 0.6403 GB, free: 11.6 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.0003426/0.003891, allocations: 310 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.003922, allocations: 11.98 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.003954, allocations: 16.92 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.056e-05/0.004025, allocations: 117.7 kB / 0.6408 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.004035, allocations: 4.375 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.004051, allocations: 8.375 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/0.004133, allocations: 62.94 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.004139, allocations: 8.125 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004145, allocations: 4.359 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.004149, allocations: 384 / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.004173, allocations: 23.86 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.004402, allocations: 172.2 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.004468, allocations: 38.56 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.004483, allocations: 8.859 kB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.00449, allocations: 4 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/0.004563, allocations: 75.5 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.004564, allocations: 0 / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001097/0.004673, allocations: 77.58 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.0047, allocations: 51.41 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.004753, allocations: 122.6 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.00477, allocations: 29.7 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.004802, allocations: 96.05 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.004818, allocations: 19.83 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.00486, allocations: 33.7 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.004928, allocations: 326.8 kB / 0.6419 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.004974, allocations: 49.69 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.005027, allocations: 89.95 kB / 0.642 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.005098, allocations: 101.9 kB / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.0051, allocations: 0 / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001275/0.005227, allocations: 169 kB / 0.6423 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.00525, allocations: 37.7 kB / 0.6423 GB, free: 9.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.005254, allocations: 0 / 0.6423 GB, free: 9.34 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.005266, allocations: 3.938 kB / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.005316, allocations: 15.98 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.00532, allocations: 7.938 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.005393, allocations: 23.94 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.005405, allocations: 7.984 kB / 0.6424 GB, free: 9.281 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,edge1.y,edge1.u,$PRE.edge1.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 5.568e-05/0.00546, allocations: 121.8 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.005469, allocations: 11.98 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/0.005488, allocations: 12.42 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.005491, allocations: 4 kB / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.005493, allocations: 4 kB / 0.6425 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.005496, allocations: 4 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.00566, allocations: 222.7 kB / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005661, allocations: 0 / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.005681, allocations: 4 kB / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005682, allocations: 0 / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.005688, allocations: 3.938 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005688, allocations: 4 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005689, allocations: 0 / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.293e-05/0.005762, allocations: 163.5 kB / 0.6429 GB, free: 8.688 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.005769, allocations: 7.938 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.005782, allocations: 3.938 kB / 0.6429 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.062e-05/0.005813, allocations: 4 kB / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.005839, allocations: 11.98 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.005843, allocations: 0 / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.47e-05/0.005857, allocations: 16.84 kB / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.005857, allocations: 0 / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001374/0.005995, allocations: 24 kB / 0.6429 GB, free: 8.617 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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 8.632e-05/0.006081, allocations: 84.41 kB / 0.643 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.006219, allocations: 150.3 kB / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.00622, allocations: 0 / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.082e-05/0.006251, allocations: 36.77 kB / 0.6432 GB, free: 8.32 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.006375, allocations: 4 kB / 0.6432 GB, free: 8.316 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.006593, allocations: 173.3 kB / 0.6434 GB, free: 8.117 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.909e-05/0.006622, allocations: 63.3 kB / 0.6434 GB, free: 8.035 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.006641, allocations: 7.984 kB / 0.6434 GB, free: 8.027 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.006709, allocations: 67.36 kB / 0.6435 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of SimCode: time 3e-07/0.006709, allocations: 0 / 0.6435 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of Templates: time 0.002813/0.009522, allocations: 1.653 MB / 0.6451 GB, free: 6.312 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.266159683931619]