Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001563/0.001563, allocations: 114.3 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.001733/0.001733, allocations: 215.6 kB / 22.26 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.472/1.472, 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.06576/0.06576, allocations: 12.19 MB / 324.6 MB, free: 7.301 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.0007662/0.0007662, allocations: 31.58 kB / 384.1 MB, free: 46.7 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.559/2.559, allocations: 353.8 MB / 0.7787 GB, free: 1.02 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [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.003566/0.003566, allocations: 116.5 kB / 1.061 GB, free: 13.03 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2584, allocations: 134.9 MB / 1.192 GB, free: 6.203 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002332/0.2608, allocations: 0.7469 MB / 1.193 GB, free: 5.461 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.2624, allocations: 1.227 MB / 1.194 GB, free: 4.223 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.2625, allocations: 4 kB / 1.194 GB, free: 4.219 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.2625, allocations: 3.938 kB / 1.194 GB, free: 4.215 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.2626, allocations: 11.88 kB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.2631, allocations: 142 kB / 1.194 GB, free: 4.07 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.2633, allocations: 123.8 kB / 1.194 GB, free: 3.949 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2634, allocations: 20.17 kB / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.894e-05/0.2635, allocations: 55.83 kB / 1.195 GB, free: 3.871 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2636, allocations: 43.89 kB / 1.195 GB, free: 3.828 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.2636, allocations: 15.94 kB / 1.195 GB, free: 3.812 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.701e-05/0.2637, allocations: 31.98 kB / 1.195 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.2637, allocations: 19.91 kB / 1.195 GB, free: 3.762 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.2638, allocations: 43.84 kB / 1.195 GB, free: 3.719 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.264, allocations: 123.5 kB / 1.195 GB, free: 3.598 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.264, allocations: 4 kB / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.283e-06/0.264, allocations: 7.938 kB / 1.195 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.264, allocations: 0 / 1.195 GB, free: 3.586 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006727/0.2647, allocations: 343.7 kB / 1.195 GB, free: 3.215 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2647, allocations: 11.98 kB / 1.195 GB, free: 3.203 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.2648, allocations: 20.88 kB / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.265, allocations: 122.4 kB / 1.195 GB, free: 3.039 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.265, allocations: 4.375 kB / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.265, allocations: 12.38 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.2652, allocations: 70.22 kB / 1.195 GB, free: 2.949 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2652, allocations: 7.922 kB / 1.195 GB, free: 2.941 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2653, allocations: 0 / 1.195 GB, free: 2.941 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2653, allocations: 4 kB / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.2655, allocations: 47.89 kB / 1.195 GB, free: 2.891 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.266, allocations: 311.8 kB / 1.196 GB, free: 2.543 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2662, allocations: 62.55 kB / 1.196 GB, free: 2.473 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2663, allocations: 29 kB / 1.196 GB, free: 2.441 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.2663, allocations: 0 / 1.196 GB, free: 2.441 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.2666, allocations: 87.36 kB / 1.196 GB, free: 2.344 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.2666, allocations: 4 kB / 1.196 GB, free: 2.34 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.0004595/0.267, allocations: 149.5 kB / 1.196 GB, free: 2.188 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.2671, allocations: 55.41 kB / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2672, allocations: 118.5 kB / 1.196 GB, free: 1.996 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.2672, allocations: 33.7 kB / 1.196 GB, free: 1.957 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.2673, allocations: 96.08 kB / 1.196 GB, free: 1.859 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.2673, allocations: 23.84 kB / 1.196 GB, free: 1.836 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.2674, allocations: 45.69 kB / 1.196 GB, free: 1.785 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2676, allocations: 318.8 kB / 1.197 GB, free: 1.465 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.2678, allocations: 55.89 kB / 1.197 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.2679, allocations: 93.11 kB / 1.197 GB, free: 1.301 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.2682, allocations: 142.8 kB / 1.197 GB, free: 1.137 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.2682, allocations: 8 kB / 1.197 GB, free: 1.129 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004556/0.2687, allocations: 211.1 kB / 1.197 GB, free: 0.9102 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.2687, allocations: 37.69 kB / 1.197 GB, free: 0.8672 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2687, allocations: 4 kB / 1.197 GB, free: 0.8633 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2688, allocations: 0 / 1.197 GB, free: 0.8633 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2689, allocations: 23.92 kB / 1.197 GB, free: 0.8398 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2689, allocations: 4.156 kB / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.2691, allocations: 31.92 kB / 1.197 GB, free: 0.8047 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.2691, allocations: 15.92 kB / 1.197 GB, free: 0.7891 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * 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 0.0001207/0.2692, allocations: 129 kB / 1.197 GB, free: 0.6562 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.2693, allocations: 7.953 kB / 1.197 GB, free: 0.6484 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.2696, allocations: 133.9 kB / 1.198 GB, free: 0.5078 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2696, allocations: 4 kB / 1.198 GB, free: 0.5039 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2696, allocations: 0 / 1.198 GB, free: 0.5039 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2696, allocations: 0 / 1.198 GB, free: 0.5039 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.2701, allocations: 349.5 kB / 1.198 GB, free: 116 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2701, allocations: 0 / 1.198 GB, free: 116 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.2701, allocations: 11.98 kB / 1.198 GB, free: 104 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2701, allocations: 4 kB / 1.198 GB, free: 100 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2701, allocations: 0 / 1.198 GB, free: 100 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2701, allocations: 3.984 kB / 1.198 GB, free: 96 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2702, allocations: 3.938 kB / 1.198 GB, free: 92 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.2705, allocations: 211.5 kB / 1.198 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.2705, allocations: 3.953 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.2705, allocations: 4 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.2706, allocations: 15.98 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2707, allocations: 7.922 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2707, allocations: 4 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.991e-05/0.2707, allocations: 100.2 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2707, allocations: 0 / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002732/0.271, allocations: 24 kB / 1.198 GB, free: 15.71 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001577/0.2712, allocations: 95.25 kB / 1.198 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.2716, allocations: 167.3 kB / 1.198 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2716, allocations: 0 / 1.198 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2717, allocations: 40.5 kB / 1.199 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.272, allocations: 15.58 kB / 1.199 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.2724, allocations: 191.5 kB / 1.199 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2728, allocations: 0.6885 MB / 1.199 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.2728, allocations: 7.984 kB / 1.199 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.2728, allocations: 11.44 kB / 1.199 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.2728, allocations: 0 / 1.199 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.004515/0.2774, allocations: 1.473 MB / 1.201 GB, free: 12.99 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.030756548047066] Failed to read output from testmodel.py, exit status != 0: 0.28706539794802666 0.299814395 0.032807836 Calling exit ...