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/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.001497/0.001497, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001853/0.001853, allocations: 215.6 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.06557/0.06557, allocations: 12.18 MB / 324.6 MB, free: 7.086 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000755/0.000755, allocations: 32.98 kB / 384.1 MB, free: 47.55 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.595/2.595, allocations: 353.9 MB / 0.7787 GB, free: 1.605 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003347/0.003347, allocations: 124.4 kB / 1.06 GB, free: 12.64 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3225, allocations: 134.9 MB / 1.192 GB, free: 5.84 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002155/0.3247, allocations: 0.7013 MB / 1.193 GB, free: 5.141 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3264, allocations: 1.227 MB / 1.194 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.3264, allocations: 0 / 1.194 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.3264, allocations: 7.938 kB / 1.194 GB, free: 3.895 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.3265, allocations: 15.86 kB / 1.194 GB, free: 3.879 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.3271, allocations: 138.3 kB / 1.194 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3273, allocations: 123.7 kB / 1.194 GB, free: 3.625 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.3273, allocations: 8 kB / 1.194 GB, free: 3.617 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.3274, allocations: 51.83 kB / 1.194 GB, free: 3.566 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.3275, allocations: 35.89 kB / 1.194 GB, free: 3.531 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3276, allocations: 12 kB / 1.194 GB, free: 3.52 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.992e-05/0.3276, allocations: 27.92 kB / 1.194 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.3277, allocations: 23.91 kB / 1.194 GB, free: 3.469 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.3277, allocations: 31.92 kB / 1.194 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3279, allocations: 115.6 kB / 1.195 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3279, allocations: 0 / 1.195 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3279, allocations: 0 / 1.195 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3279, allocations: 0 / 1.195 GB, free: 3.324 MB / 0.8263 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.0006085/0.3285, allocations: 339.8 kB / 1.195 GB, free: 2.953 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3286, allocations: 15.98 kB / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.49e-05/0.3287, allocations: 8.891 kB / 1.195 GB, free: 2.93 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3288, allocations: 126.4 kB / 1.195 GB, free: 2.781 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3288, allocations: 8.375 kB / 1.195 GB, free: 2.773 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.3288, allocations: 12.38 kB / 1.195 GB, free: 2.762 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.329, allocations: 62.22 kB / 1.195 GB, free: 2.695 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3291, allocations: 192 / 1.195 GB, free: 2.695 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3291, allocations: 3.938 kB / 1.195 GB, free: 2.691 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3291, allocations: 4 kB / 1.195 GB, free: 2.688 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.3293, allocations: 43.95 kB / 1.195 GB, free: 2.645 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.3297, allocations: 244.5 kB / 1.195 GB, free: 2.375 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3299, allocations: 54.48 kB / 1.195 GB, free: 2.312 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.796e-05/0.33, allocations: 28.92 kB / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.33, allocations: 0 / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.3303, allocations: 95.38 kB / 1.196 GB, free: 2.176 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3303, allocations: 0 / 1.196 GB, free: 2.176 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0004577/0.3307, allocations: 137.6 kB / 1.196 GB, free: 2.035 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3308, allocations: 51.41 kB / 1.196 GB, free: 1.973 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.3309, allocations: 117.8 kB / 1.196 GB, free: 1.848 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3309, allocations: 29.7 kB / 1.196 GB, free: 1.812 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.3309, allocations: 92.5 kB / 1.196 GB, free: 1.719 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.331, allocations: 11.91 kB / 1.196 GB, free: 1.707 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.331, allocations: 33.7 kB / 1.196 GB, free: 1.668 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3312, allocations: 318.8 kB / 1.196 GB, free: 1.348 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3314, allocations: 89.59 kB / 1.196 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.3316, allocations: 113 kB / 1.197 GB, free: 1.125 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.3318, allocations: 129 kB / 1.197 GB, free: 0.9805 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3318, allocations: 3.938 kB / 1.197 GB, free: 0.9766 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000462/0.3323, allocations: 233 kB / 1.197 GB, free: 0.7305 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.3324, allocations: 41.69 kB / 1.197 GB, free: 0.6836 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3324, allocations: 0 / 1.197 GB, free: 0.6836 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3324, allocations: 0 / 1.197 GB, free: 0.6836 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.3325, allocations: 11.98 kB / 1.197 GB, free: 0.6719 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3325, allocations: 4 kB / 1.197 GB, free: 0.668 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3327, allocations: 39.84 kB / 1.197 GB, free: 0.6289 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3327, allocations: 8 kB / 1.197 GB, free: 0.6211 MB / 0.8263 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 0.0001047/0.3328, allocations: 132.2 kB / 1.197 GB, free: 496 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.3328, allocations: 4 kB / 1.197 GB, free: 492 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.3331, allocations: 114.1 kB / 1.197 GB, free: 368 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3331, allocations: 0 / 1.197 GB, free: 368 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3331, allocations: 0 / 1.197 GB, free: 368 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3331, allocations: 4 kB / 1.197 GB, free: 364 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.3335, allocations: 310 kB / 1.198 GB, free: 16 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3336, allocations: 8 kB / 1.198 GB, free: 8 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.3336, allocations: 8 kB / 1.198 GB, free: 0 / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3336, allocations: 0 / 1.198 GB, free: 0 / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3337, allocations: 4.047 kB / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3337, allocations: 4 kB / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3337, allocations: 0 / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.334, allocations: 207.8 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.334, allocations: 3.953 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.334, allocations: 4 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.3341, allocations: 11.98 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3341, allocations: 7.984 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3342, allocations: 4 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.3342, allocations: 87.38 kB / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.3342, allocations: 288 / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002567/0.3345, allocations: 23.94 kB / 1.198 GB, free: 15.63 MB / 0.8419 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.0001383/0.3346, allocations: 111 kB / 1.198 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.335, allocations: 193 kB / 1.198 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.335, allocations: 0 / 1.198 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3351, allocations: 36.03 kB / 1.198 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.3354, allocations: 21.12 kB / 1.198 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.3357, allocations: 150.8 kB / 1.198 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.722e-05/0.3358, allocations: 71.47 kB / 1.198 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.3359, allocations: 11.73 kB / 1.198 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3359, allocations: 15.44 kB / 1.198 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3359, allocations: 0 / 1.198 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.004527/0.3404, allocations: 1.544 MB / 1.2 GB, free: 13.46 MB / 0.8419 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.733691811561584] Failed to read output from testmodel.py, exit status != 0: 0.3486195057630539 0.37714550999999996 0.04360879499999994 Calling exit ...