Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001487/0.001487, 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.0019/0.0019, allocations: 215.5 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.781 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.06192/0.06192, allocations: 12.19 MB / 324.6 MB, free: 7.055 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.001089/0.001089, allocations: 33.38 kB / 384.1 MB, free: 47.49 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.658/2.658, allocations: 353.8 MB / 0.7787 GB, free: 1.629 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler") [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.00342/0.00342, allocations: 125 kB / 1.06 GB, free: 12.75 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3528, allocations: 134.9 MB / 1.192 GB, free: 5.957 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002745/0.3555, allocations: 0.6411 MB / 1.193 GB, free: 5.32 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3579, allocations: 1.099 MB / 1.194 GB, free: 4.211 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.358, allocations: 4 kB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.358, allocations: 3.938 kB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.3581, allocations: 7.938 kB / 1.194 GB, free: 4.195 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.3584, allocations: 51.77 kB / 1.194 GB, free: 4.145 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3585, allocations: 39.91 kB / 1.194 GB, free: 4.105 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.3586, allocations: 15.98 kB / 1.194 GB, free: 4.09 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.3587, allocations: 23.86 kB / 1.194 GB, free: 4.066 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.3588, allocations: 23.91 kB / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3588, allocations: 4 kB / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.3589, allocations: 16 kB / 1.194 GB, free: 4.023 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.3589, allocations: 15.92 kB / 1.194 GB, free: 4.008 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.3589, allocations: 23.91 kB / 1.194 GB, free: 3.984 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.3591, allocations: 59.78 kB / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3591, allocations: 0 / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3591, allocations: 0 / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3591, allocations: 0 / 1.194 GB, free: 3.926 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.0006861/0.3598, allocations: 286.2 kB / 1.194 GB, free: 3.613 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3599, allocations: 15.98 kB / 1.194 GB, free: 3.598 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.36, allocations: 12.89 kB / 1.194 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3601, allocations: 102.5 kB / 1.195 GB, free: 3.461 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3601, allocations: 8.359 kB / 1.195 GB, free: 3.453 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3601, allocations: 384 / 1.195 GB, free: 3.453 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.3604, allocations: 70.16 kB / 1.195 GB, free: 3.379 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3604, allocations: 4.125 kB / 1.195 GB, free: 3.375 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3604, allocations: 3.938 kB / 1.195 GB, free: 3.371 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3604, allocations: 0 / 1.195 GB, free: 3.371 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.3607, allocations: 43.95 kB / 1.195 GB, free: 3.328 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.3612, allocations: 220.5 kB / 1.195 GB, free: 3.082 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3614, allocations: 54.48 kB / 1.195 GB, free: 3.02 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.3616, allocations: 36.89 kB / 1.195 GB, free: 2.98 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3616, allocations: 0 / 1.195 GB, free: 2.98 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.3619, allocations: 67.39 kB / 1.195 GB, free: 2.902 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.3619, allocations: 0 / 1.195 GB, free: 2.902 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6): time 0.0006151/0.3625, allocations: 129.8 kB / 1.195 GB, free: 2.77 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3626, allocations: 51.41 kB / 1.195 GB, free: 2.707 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3627, allocations: 109.9 kB / 1.195 GB, free: 2.59 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3627, allocations: 25.7 kB / 1.195 GB, free: 2.559 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.3628, allocations: 96.16 kB / 1.195 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3628, allocations: 11.89 kB / 1.195 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.3629, allocations: 21.72 kB / 1.195 GB, free: 2.422 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3631, allocations: 318.8 kB / 1.196 GB, free: 2.102 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.3633, allocations: 27.98 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3634, allocations: 51.41 kB / 1.196 GB, free: 2.012 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.3638, allocations: 79.33 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3638, allocations: 0 / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004481/0.3642, allocations: 113.4 kB / 1.196 GB, free: 1.805 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3642, allocations: 9.719 kB / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3642, allocations: 0 / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3643, allocations: 0 / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.3644, allocations: 19.92 kB / 1.196 GB, free: 1.777 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3644, allocations: 0 / 1.196 GB, free: 1.777 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3645, allocations: 4 kB / 1.196 GB, free: 1.773 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3645, allocations: 7.984 kB / 1.196 GB, free: 1.766 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: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001392/0.3647, allocations: 125.8 kB / 1.196 GB, free: 1.633 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.3647, allocations: 7.953 kB / 1.196 GB, free: 1.625 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.3651, allocations: 102 kB / 1.196 GB, free: 1.516 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3651, allocations: 4 kB / 1.196 GB, free: 1.512 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3652, allocations: 0 / 1.196 GB, free: 1.512 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3652, allocations: 0 / 1.196 GB, free: 1.512 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/0.3658, allocations: 294.1 kB / 1.197 GB, free: 1.188 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3658, allocations: 7.984 kB / 1.197 GB, free: 1.18 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.3659, allocations: 11.94 kB / 1.197 GB, free: 1.168 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3659, allocations: 0 / 1.197 GB, free: 1.168 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3659, allocations: 0 / 1.197 GB, free: 1.168 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.366, allocations: 4.359 kB / 1.197 GB, free: 1.164 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.366, allocations: 4 kB / 1.197 GB, free: 1.16 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.3664, allocations: 195.4 kB / 1.197 GB, free: 0.9531 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.3665, allocations: 4 kB / 1.197 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3665, allocations: 3.984 kB / 1.197 GB, free: 0.9453 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.3666, allocations: 12 kB / 1.197 GB, free: 0.9336 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.3667, allocations: 7.984 kB / 1.197 GB, free: 0.9258 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3667, allocations: 0 / 1.197 GB, free: 0.9258 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 8.947e-05/0.3668, allocations: 91.27 kB / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3668, allocations: 0 / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0004292/0.3672, allocations: 11.94 kB / 1.197 GB, free: 0.8242 MB / 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001675/0.3674, allocations: 95.25 kB / 1.197 GB, free: 0.7227 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.3678, allocations: 71.83 kB / 1.197 GB, free: 0.6523 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3678, allocations: 0 / 1.197 GB, free: 0.6523 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.368, allocations: 31.97 kB / 1.197 GB, free: 0.6211 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3684, allocations: 11.94 kB / 1.197 GB, free: 0.6094 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3688, allocations: 142.1 kB / 1.197 GB, free: 456 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.096e-05/0.3689, allocations: 71.3 kB / 1.197 GB, free: 364 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 4.747e-05/0.369, allocations: 15.92 kB / 1.197 GB, free: 348 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.369, allocations: 7.438 kB / 1.197 GB, free: 340 kB / 0.8263 GB Notification: Performance of SimCode: time 5.71e-07/0.369, allocations: 0 / 1.197 GB, free: 340 kB / 0.8263 GB Notification: Performance of Templates: time 0.004858/0.3739, allocations: 0.8468 MB / 1.198 GB, free: 15.51 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.789383560419083] Failed to read output from testmodel.py, exit status != 0: 0.38251714408397675 0.39681334999999995 0.03456496199999994 Calling exit ...