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.001847/0.001847, allocations: 106.4 kB / 18.94 MB, free: 2.938 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.001681/0.001681, allocations: 216.6 kB / 22.25 MB, free: 5.148 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.004 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.06369/0.06369, allocations: 12.19 MB / 324.6 MB, free: 7.273 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.0007289/0.0007289, allocations: 28.39 kB / 384.1 MB, free: 46.61 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.526/2.526, allocations: 353.8 MB / 0.7787 GB, free: 1.031 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.00355/0.00355, allocations: 124 kB / 1.061 GB, free: 13.04 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2626, allocations: 134.9 MB / 1.192 GB, free: 6.211 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001855/0.2644, allocations: 0.6644 MB / 1.193 GB, free: 5.551 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.2658, allocations: 1.118 MB / 1.194 GB, free: 4.422 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.2659, allocations: 0 / 1.194 GB, free: 4.422 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.2659, allocations: 3.938 kB / 1.194 GB, free: 4.418 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.266, allocations: 7.922 kB / 1.194 GB, free: 4.41 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.2662, allocations: 43.83 kB / 1.194 GB, free: 4.367 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.2663, allocations: 47.86 kB / 1.194 GB, free: 4.32 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.2664, allocations: 15.98 kB / 1.194 GB, free: 4.305 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.2665, allocations: 27.84 kB / 1.194 GB, free: 4.277 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.2666, allocations: 15.92 kB / 1.194 GB, free: 4.262 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2666, allocations: 8 kB / 1.194 GB, free: 4.254 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-05/0.2666, allocations: 27.98 kB / 1.194 GB, free: 4.227 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.2667, allocations: 7.984 kB / 1.194 GB, free: 4.219 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.2667, allocations: 19.81 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.2668, allocations: 59.78 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2669, allocations: 0 / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2669, allocations: 0 / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2669, allocations: 0 / 1.194 GB, free: 4.141 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.0005781/0.2674, allocations: 298.2 kB / 1.195 GB, free: 3.816 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2675, allocations: 11.98 kB / 1.195 GB, free: 3.805 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.2676, allocations: 8.891 kB / 1.195 GB, free: 3.797 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2677, allocations: 110.5 kB / 1.195 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2677, allocations: 4.375 kB / 1.195 GB, free: 3.66 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2677, allocations: 4.375 kB / 1.195 GB, free: 3.656 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2679, allocations: 66.16 kB / 1.195 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2679, allocations: 192 / 1.195 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2679, allocations: 3.938 kB / 1.195 GB, free: 3.582 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2679, allocations: 8 kB / 1.195 GB, free: 3.574 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2681, allocations: 35.95 kB / 1.195 GB, free: 3.539 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.2685, allocations: 247.9 kB / 1.195 GB, free: 3.254 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2687, allocations: 58.42 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.2688, allocations: 36.89 kB / 1.195 GB, free: 3.148 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.2688, allocations: 4 kB / 1.195 GB, free: 3.145 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.269, allocations: 71.38 kB / 1.195 GB, free: 3.062 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.269, allocations: 0 / 1.195 GB, free: 3.062 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6): time 0.0004038/0.2694, allocations: 121.6 kB / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.2695, allocations: 51.41 kB / 1.195 GB, free: 2.875 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.2696, allocations: 114 kB / 1.195 GB, free: 2.754 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2696, allocations: 25.7 kB / 1.195 GB, free: 2.723 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.2696, allocations: 92.09 kB / 1.196 GB, free: 2.629 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.2696, allocations: 11.97 kB / 1.196 GB, free: 2.617 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.2697, allocations: 29.7 kB / 1.196 GB, free: 2.582 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2698, allocations: 310.8 kB / 1.196 GB, free: 2.27 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.2699, allocations: 31.97 kB / 1.196 GB, free: 2.238 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.27, allocations: 47.42 kB / 1.196 GB, free: 2.18 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.2702, allocations: 83.27 kB / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2702, allocations: 0 / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002648/0.2705, allocations: 101.6 kB / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2705, allocations: 4 kB / 1.196 GB, free: 1.977 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2705, allocations: 4 kB / 1.196 GB, free: 1.973 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2705, allocations: 3.938 kB / 1.196 GB, free: 1.969 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.2706, allocations: 20.02 kB / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2706, allocations: 4 kB / 1.196 GB, free: 1.945 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.2707, allocations: 11.92 kB / 1.196 GB, free: 1.934 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2707, allocations: 8 kB / 1.196 GB, free: 1.926 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 9.378e-05/0.2708, allocations: 117.8 kB / 1.196 GB, free: 1.801 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.2708, allocations: 7.938 kB / 1.196 GB, free: 1.793 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.2711, allocations: 110 kB / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2711, allocations: 0 / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2711, allocations: 0 / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2711, allocations: 0 / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.2715, allocations: 321.6 kB / 1.197 GB, free: 1.312 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2715, allocations: 0 / 1.197 GB, free: 1.312 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.2716, allocations: 11.98 kB / 1.197 GB, free: 1.301 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2716, allocations: 0 / 1.197 GB, free: 1.301 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.2716, allocations: 4 kB / 1.197 GB, free: 1.297 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2716, allocations: 7.875 kB / 1.197 GB, free: 1.289 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2716, allocations: 0 / 1.197 GB, free: 1.289 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.2719, allocations: 203.8 kB / 1.197 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-06/0.2719, allocations: 0 / 1.197 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2719, allocations: 0 / 1.197 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.272, allocations: 15.98 kB / 1.197 GB, free: 1.059 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.2721, allocations: 3.984 kB / 1.197 GB, free: 1.055 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.2721, allocations: 11.94 kB / 1.197 GB, free: 1.043 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.2721, allocations: 79.28 kB / 1.197 GB, free: 0.9648 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.2721, allocations: 0 / 1.197 GB, free: 0.9648 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002384/0.2724, allocations: 12 kB / 1.197 GB, free: 0.9531 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.0001378/0.2725, allocations: 99.23 kB / 1.197 GB, free: 0.8477 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.2727, allocations: 67.89 kB / 1.197 GB, free: 0.7812 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2727, allocations: 0 / 1.197 GB, free: 0.7812 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2729, allocations: 35.91 kB / 1.197 GB, free: 0.7461 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.2731, allocations: 10.2 kB / 1.197 GB, free: 0.7383 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.2734, allocations: 134.1 kB / 1.197 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.2738, allocations: 0.6848 MB / 1.198 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.2738, allocations: 11.88 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.2738, allocations: 15.44 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.2738, allocations: 0 / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.003413/0.2773, allocations: 0.8177 MB / 1.199 GB, free: 15.04 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: 7.972854942083359] Failed to read output from testmodel.py, exit status != 0: 0.2853968180716038 0.299136453 0.029348928000000003 Calling exit ...