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.0007984/0.0007984, allocations: 100.4 kB / 19.7 MB, free: 0.5664 MB / 13.93 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.0008324/0.0008324, allocations: 208.7 kB / 23 MB, free: 3.07 MB / 13.93 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.9948/0.9948, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] 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.03632/0.03632, allocations: 12.19 MB / 325.4 MB, free: 6.102 MB / 250.7 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.0005224/0.0005224, allocations: 23.97 kB / 384.8 MB, free: 10.53 MB / 314.7 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 1.963/1.963, allocations: 353.8 MB / 0.7794 GB, free: 4.562 MB / 0.5105 GB " [Timeout remaining time 178] 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.001553/0.001553, allocations: 118.8 kB / 1.061 GB, free: 24.43 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3086, allocations: 134.9 MB / 1.193 GB, free: 7.039 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002569/0.3111, allocations: 0.6974 MB / 1.194 GB, free: 6.344 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3131, allocations: 1.226 MB / 1.195 GB, free: 5.105 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.3132, allocations: 4 kB / 1.195 GB, free: 5.102 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.718e-05/0.3132, allocations: 7.922 kB / 1.195 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3133, allocations: 11.86 kB / 1.195 GB, free: 5.082 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.3141, allocations: 147.2 kB / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.3143, allocations: 115.8 kB / 1.195 GB, free: 4.828 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3144, allocations: 11.98 kB / 1.195 GB, free: 4.816 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3146, allocations: 47.91 kB / 1.195 GB, free: 4.77 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3147, allocations: 43.86 kB / 1.195 GB, free: 4.727 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.3147, allocations: 12 kB / 1.195 GB, free: 4.715 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.3148, allocations: 27.94 kB / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.3149, allocations: 7.984 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.3149, allocations: 39.84 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3152, allocations: 115.7 kB / 1.195 GB, free: 4.527 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.3152, allocations: 4 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.108e-06/0.3152, allocations: 3.938 kB / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3152, allocations: 4 kB / 1.195 GB, free: 4.516 MB / 0.823 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.0007948/0.316, allocations: 331.8 kB / 1.196 GB, free: 4.152 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.3161, allocations: 11.97 kB / 1.196 GB, free: 4.141 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.3163, allocations: 12.89 kB / 1.196 GB, free: 4.129 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3164, allocations: 118.4 kB / 1.196 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3164, allocations: 384 / 1.196 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.3164, allocations: 12.38 kB / 1.196 GB, free: 3.977 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3167, allocations: 66.16 kB / 1.196 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3167, allocations: 192 / 1.196 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3167, allocations: 15.92 kB / 1.196 GB, free: 3.891 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3167, allocations: 0 / 1.196 GB, free: 3.891 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3169, allocations: 43.94 kB / 1.196 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.3174, allocations: 248.5 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.3176, allocations: 50.44 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.644e-05/0.3177, allocations: 32.92 kB / 1.196 GB, free: 3.48 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.3177, allocations: 4 kB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.318, allocations: 91.31 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.856e-06/0.318, allocations: 0 / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003984/0.3184, allocations: 137.6 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3185, allocations: 51.41 kB / 1.197 GB, free: 3.172 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3186, allocations: 121.8 kB / 1.197 GB, free: 3.043 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3186, allocations: 29.7 kB / 1.197 GB, free: 3.008 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3187, allocations: 92.14 kB / 1.197 GB, free: 2.914 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.3187, allocations: 15.91 kB / 1.197 GB, free: 2.898 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.3188, allocations: 33.69 kB / 1.197 GB, free: 2.859 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3189, allocations: 318.8 kB / 1.197 GB, free: 2.539 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.319, allocations: 77.66 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3192, allocations: 109.1 kB / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3193, allocations: 133.4 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3194, allocations: 3.938 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003313/0.3197, allocations: 232.8 kB / 1.198 GB, free: 1.934 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/0.3197, allocations: 37.7 kB / 1.198 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3198, allocations: 0 / 1.198 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.3198, allocations: 7.938 kB / 1.198 GB, free: 1.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3199, allocations: 11.98 kB / 1.198 GB, free: 1.871 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3199, allocations: 4.062 kB / 1.198 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.32, allocations: 39.84 kB / 1.198 GB, free: 1.828 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.32, allocations: 8 kB / 1.198 GB, free: 1.82 MB / 0.823 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.000568/0.3206, allocations: 125.7 kB / 1.198 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.3206, allocations: 7.984 kB / 1.198 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.3209, allocations: 106.3 kB / 1.198 GB, free: 1.566 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3209, allocations: 8 kB / 1.198 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3209, allocations: 0 / 1.198 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3209, allocations: 0 / 1.198 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.3213, allocations: 318.1 kB / 1.198 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3213, allocations: 0 / 1.198 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.3213, allocations: 4 kB / 1.198 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3214, allocations: 7.984 kB / 1.198 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3214, allocations: 0 / 1.198 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3214, allocations: 0 / 1.198 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3214, allocations: 8 kB / 1.198 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3216, allocations: 203.4 kB / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.3216, allocations: 11.95 kB / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3216, allocations: 0 / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.3217, allocations: 7.984 kB / 1.199 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.3217, allocations: 11.92 kB / 1.199 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3217, allocations: 0 / 1.199 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.3218, allocations: 87.28 kB / 1.199 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3218, allocations: 0 / 1.199 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001977/0.322, allocations: 35.92 kB / 1.199 GB, free: 0.8242 MB / 0.823 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.0001975/0.3222, allocations: 99.19 kB / 1.199 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.3225, allocations: 185.2 kB / 1.199 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3225, allocations: 288 / 1.199 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.3226, allocations: 35.97 kB / 1.199 GB, free: 496 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3229, allocations: 19.98 kB / 1.199 GB, free: 476 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.3234, allocations: 192.4 kB / 1.199 GB, free: 252 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.571e-05/0.3235, allocations: 71.58 kB / 1.199 GB, free: 160 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.3235, allocations: 11.53 kB / 1.199 GB, free: 148 kB / 0.823 GB Notification: Performance of SimCode: time 8.22e-07/0.3235, allocations: 0 / 1.199 GB, free: 148 kB / 0.823 GB Notification: Performance of Templates: time 0.003196/0.3267, allocations: 1.22 MB / 1.2 GB, free: 14.94 MB / 0.8387 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.397379280999303] Failed to read output from testmodel.py, exit status != 0: 0.333839600905776 0.34396393299999994 0.026737696000000002 Calling exit ...