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.00136/0.00136, allocations: 113 kB / 18.94 MB, free: 2.934 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.001558/0.001558, allocations: 209.4 kB / 22.25 MB, free: 5.082 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.649/1.649, allocations: 230.6 MB / 256 MB, free: 8.027 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.06345/0.06345, allocations: 12.19 MB / 324.6 MB, free: 7.297 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.0007872/0.0007872, allocations: 26.39 kB / 384.1 MB, free: 46.57 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.487/2.487, allocations: 353.8 MB / 0.7787 GB, free: 1.074 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.00365/0.00365, allocations: 127.6 kB / 1.061 GB, free: 13.1 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2749, allocations: 134.9 MB / 1.192 GB, free: 6.277 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001889/0.2768, allocations: 0.7252 MB / 1.193 GB, free: 5.555 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2784, allocations: 1.25 MB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.2785, allocations: 0 / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.2785, allocations: 7.875 kB / 1.194 GB, free: 4.285 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.2786, allocations: 15.92 kB / 1.194 GB, free: 4.27 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.2791, allocations: 147.8 kB / 1.194 GB, free: 4.129 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.2793, allocations: 115.8 kB / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.2794, allocations: 11.98 kB / 1.194 GB, free: 4.004 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2795, allocations: 47.91 kB / 1.194 GB, free: 3.957 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.2796, allocations: 43.88 kB / 1.195 GB, free: 3.914 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.2796, allocations: 12 kB / 1.195 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.2797, allocations: 31.92 kB / 1.195 GB, free: 3.871 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.2797, allocations: 11.92 kB / 1.195 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.2798, allocations: 43.84 kB / 1.195 GB, free: 3.816 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.28, allocations: 111.7 kB / 1.195 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.28, allocations: 4 kB / 1.195 GB, free: 3.703 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.273e-06/0.28, allocations: 0 / 1.195 GB, free: 3.703 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.28, allocations: 0 / 1.195 GB, free: 3.703 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.0005928/0.2806, allocations: 335.8 kB / 1.195 GB, free: 3.336 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2806, allocations: 15.98 kB / 1.195 GB, free: 3.32 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.2807, allocations: 16.77 kB / 1.195 GB, free: 3.305 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2808, allocations: 118.4 kB / 1.195 GB, free: 3.164 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2808, allocations: 8.375 kB / 1.195 GB, free: 3.156 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.2809, allocations: 8.375 kB / 1.195 GB, free: 3.148 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2811, allocations: 74.14 kB / 1.195 GB, free: 3.07 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2811, allocations: 192 / 1.195 GB, free: 3.07 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2811, allocations: 3.938 kB / 1.195 GB, free: 3.066 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2811, allocations: 4 kB / 1.195 GB, free: 3.062 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.2813, allocations: 39.95 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.2817, allocations: 295.8 kB / 1.196 GB, free: 2.691 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.2819, allocations: 46.48 kB / 1.196 GB, free: 2.637 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.282, allocations: 28.92 kB / 1.196 GB, free: 2.605 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.282, allocations: 7.984 kB / 1.196 GB, free: 2.598 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.2823, allocations: 95.31 kB / 1.196 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2823, allocations: 0 / 1.196 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0004402/0.2827, allocations: 129.6 kB / 1.196 GB, free: 2.359 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.2828, allocations: 55.41 kB / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.2829, allocations: 117.8 kB / 1.196 GB, free: 2.168 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.2829, allocations: 29.7 kB / 1.196 GB, free: 2.133 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.283, allocations: 92.12 kB / 1.196 GB, free: 2.039 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.283, allocations: 15.91 kB / 1.196 GB, free: 2.023 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.2831, allocations: 33.7 kB / 1.196 GB, free: 1.984 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2832, allocations: 326.8 kB / 1.197 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.2834, allocations: 43.97 kB / 1.197 GB, free: 1.613 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.2836, allocations: 78.78 kB / 1.197 GB, free: 1.527 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.2838, allocations: 137 kB / 1.197 GB, free: 1.375 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2838, allocations: 480 / 1.197 GB, free: 1.375 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000448/0.2843, allocations: 203.1 kB / 1.197 GB, free: 1.164 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.2843, allocations: 41.77 kB / 1.197 GB, free: 1.117 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2843, allocations: 0 / 1.197 GB, free: 1.117 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2843, allocations: 0 / 1.197 GB, free: 1.117 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.2844, allocations: 19.92 kB / 1.197 GB, free: 1.098 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2844, allocations: 3.938 kB / 1.197 GB, free: 1.094 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2847, allocations: 39.84 kB / 1.197 GB, free: 1.055 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.2847, allocations: 4 kB / 1.197 GB, free: 1.051 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.0001123/0.2848, allocations: 125.8 kB / 1.197 GB, free: 0.918 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.2848, allocations: 7.984 kB / 1.197 GB, free: 0.9102 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.2851, allocations: 118.2 kB / 1.197 GB, free: 0.7852 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2851, allocations: 0 / 1.197 GB, free: 0.7852 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2851, allocations: 0 / 1.197 GB, free: 0.7852 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2851, allocations: 0 / 1.197 GB, free: 0.7852 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.2856, allocations: 345.5 kB / 1.198 GB, free: 408 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2856, allocations: 0 / 1.198 GB, free: 408 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.2857, allocations: 11.98 kB / 1.198 GB, free: 396 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2857, allocations: 0 / 1.198 GB, free: 396 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2857, allocations: 4 kB / 1.198 GB, free: 392 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2857, allocations: 4 kB / 1.198 GB, free: 388 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2857, allocations: 0 / 1.198 GB, free: 388 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.286, allocations: 203.4 kB / 1.198 GB, free: 168 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.286, allocations: 7.938 kB / 1.198 GB, free: 160 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.286, allocations: 0 / 1.198 GB, free: 160 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.2861, allocations: 4 kB / 1.198 GB, free: 156 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.2862, allocations: 15.92 kB / 1.198 GB, free: 140 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.2862, allocations: 4 kB / 1.198 GB, free: 136 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.2862, allocations: 91.2 kB / 1.198 GB, free: 44 kB / 0.8263 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2862, allocations: 0 / 1.198 GB, free: 44 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002835/0.2865, allocations: 27.94 kB / 1.198 GB, free: 16 kB / 0.8263 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.0001628/0.2867, allocations: 103.2 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.2871, allocations: 155.3 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2871, allocations: 0 / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2872, allocations: 32.27 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.2875, allocations: 16.05 kB / 1.198 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.2879, allocations: 162.7 kB / 1.198 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.2882, allocations: 0.6923 MB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.2882, allocations: 4 kB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.2882, allocations: 11.44 kB / 1.199 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.2882, allocations: 7.938 kB / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.004459/0.2927, allocations: 1.421 MB / 1.201 GB, free: 13.38 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.162291914224625] Failed to read output from testmodel.py, exit status != 0: 0.3010590076446533 0.315782314 0.032633218000000005 Calling exit ...