Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.04854/0.04854, allocations: 9.134 MB / 29 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.0009915/0.0009915, allocations: 99.08 kB / 35.33 MB, free: 1.07 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.001311/0.001311, allocations: 164.7 kB / 38.73 MB, free: 2.512 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.9893/0.9893, allocations: 177.1 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.004313/0.004313, allocations: 0.8262 MB / 276.5 MB, free: 0.7266 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.641/1.641, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.538e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001482/0.001507, allocations: 0.7286 MB / 0.6385 GB, free: 13.44 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.002775, allocations: 1.271 MB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.002816, allocations: 0 / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.002842, allocations: 3.938 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.00291, allocations: 7.922 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.003304, allocations: 151.5 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.003432, allocations: 111.8 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.715e-05/0.00351, allocations: 15.98 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.00361, allocations: 63.89 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.003683, allocations: 39.92 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003704, allocations: 8 kB / 0.6402 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.781e-05/0.003762, allocations: 27.94 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.003784, allocations: 19.91 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.00382, allocations: 35.97 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003953, allocations: 99.67 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003955, allocations: 0 / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003956, allocations: 0 / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.003959, allocations: 0 / 0.6403 GB, free: 11.58 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.0003503/0.004309, allocations: 302.1 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.004343, allocations: 15.98 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.004424, allocations: 16.86 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.151e-05/0.004495, allocations: 109.8 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004506, allocations: 4.375 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.004522, allocations: 8.375 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.286e-05/0.004615, allocations: 78.84 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.004621, allocations: 192 / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.004628, allocations: 384 / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.004631, allocations: 4.312 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.004656, allocations: 19.91 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.004892, allocations: 172.2 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.004949, allocations: 38.56 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.004964, allocations: 12.84 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.004977, allocations: 4 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.564e-05/0.005052, allocations: 67.47 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.005053, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001128/0.005166, allocations: 73.53 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.005193, allocations: 51.41 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.005249, allocations: 122.6 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.005265, allocations: 33.69 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.005301, allocations: 92.08 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.005314, allocations: 11.91 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.005357, allocations: 33.69 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.005427, allocations: 322.8 kB / 0.6419 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.005472, allocations: 53.69 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.005521, allocations: 77.11 kB / 0.642 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.005604, allocations: 89.03 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005605, allocations: 0 / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000126/0.005732, allocations: 164.9 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.005759, allocations: 45.53 kB / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005763, allocations: 0 / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.005773, allocations: 0 / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.005834, allocations: 16.05 kB / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.005839, allocations: 4 kB / 0.6423 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.00591, allocations: 23.98 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.005922, allocations: 7.984 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.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): 8 * 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 6.01e-05/0.005982, allocations: 121.7 kB / 0.6424 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.005991, allocations: 8 kB / 0.6424 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.006069, allocations: 62.05 kB / 0.6425 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.006071, allocations: 4 kB / 0.6425 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.006072, allocations: 4 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006075, allocations: 3.938 kB / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.006202, allocations: 210.8 kB / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006202, allocations: 0 / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.006226, allocations: 4 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.006229, allocations: 3.938 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.006236, allocations: 7.984 kB / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.006238, allocations: 4 kB / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.006239, allocations: 0 / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.568e-05/0.006315, allocations: 151.5 kB / 0.6429 GB, free: 8.688 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.006321, allocations: 7.953 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.006335, allocations: 7.938 kB / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.006368, allocations: 4 kB / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.006394, allocations: 7.984 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006398, allocations: 4 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.306e-05/0.006411, allocations: 12.84 kB / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.006411, allocations: 0 / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001405/0.006552, 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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 0.0001188/0.006671, allocations: 84.41 kB / 0.643 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.006829, allocations: 150.5 kB / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.006833, allocations: 4 kB / 0.6432 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.006868, allocations: 20.84 kB / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.007022, allocations: 12.14 kB / 0.6432 GB, free: 8.32 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.007385, allocations: 168.3 kB / 0.6434 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.007415, allocations: 55.36 kB / 0.6434 GB, free: 8.055 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.007438, allocations: 12.11 kB / 0.6434 GB, free: 8.043 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.007507, allocations: 67.36 kB / 0.6435 GB, free: 7.977 MB / 0.6043 GB Notification: Performance of SimCode: time 6.21e-07/0.007508, allocations: 0 / 0.6435 GB, free: 7.977 MB / 0.6043 GB Notification: Performance of Templates: time 0.002994/0.0105, allocations: 1.589 MB / 0.645 GB, free: 6.391 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.362265204079449]