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.000852/0.000852, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.000861/0.000861, allocations: 212.1 kB / 23 MB, free: 2.98 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.9747/0.9747, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.03958/0.03958, allocations: 12.18 MB / 325.4 MB, free: 6.086 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.0004696/0.0004696, allocations: 31.94 kB / 384.9 MB, free: 10.5 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.82/1.82, allocations: 353.9 MB / 0.7794 GB, free: 4.543 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.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.001472/0.001472, allocations: 118.4 kB / 1.061 GB, free: 24.51 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2789, allocations: 134.9 MB / 1.193 GB, free: 7 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001684/0.2806, allocations: 0.6437 MB / 1.194 GB, free: 6.359 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.282, allocations: 1.091 MB / 1.195 GB, free: 5.258 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.2821, allocations: 4 kB / 1.195 GB, free: 5.254 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.2821, allocations: 7.938 kB / 1.195 GB, free: 5.246 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.2822, allocations: 7.922 kB / 1.195 GB, free: 5.238 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.2826, allocations: 47.83 kB / 1.195 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2827, allocations: 43.86 kB / 1.195 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2828, allocations: 15.97 kB / 1.195 GB, free: 5.133 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.2829, allocations: 15.94 kB / 1.195 GB, free: 5.117 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.2829, allocations: 23.91 kB / 1.195 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2829, allocations: 4 kB / 1.195 GB, free: 5.09 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.283, allocations: 23.92 kB / 1.195 GB, free: 5.066 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.283, allocations: 8 kB / 1.195 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.2831, allocations: 23.91 kB / 1.195 GB, free: 5.035 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.2832, allocations: 63.72 kB / 1.195 GB, free: 4.973 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2832, allocations: 0 / 1.195 GB, free: 4.973 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.796e-06/0.2833, allocations: 0 / 1.195 GB, free: 4.973 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2833, allocations: 3.938 kB / 1.195 GB, free: 4.969 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.0005598/0.2838, allocations: 290.2 kB / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2839, allocations: 8.031 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.284, allocations: 12.88 kB / 1.195 GB, free: 4.637 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.2841, allocations: 110.5 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2841, allocations: 384 / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2841, allocations: 4.375 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2842, allocations: 66.16 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2843, allocations: 3.938 kB / 1.195 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2843, allocations: 4 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.2843, allocations: 0 / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.2844, allocations: 47.94 kB / 1.195 GB, free: 4.375 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.2848, allocations: 212.5 kB / 1.196 GB, free: 4.137 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.2849, allocations: 62.42 kB / 1.196 GB, free: 4.066 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.2849, allocations: 28.95 kB / 1.196 GB, free: 4.035 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.285, allocations: 4 kB / 1.196 GB, free: 4.031 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.2851, allocations: 71.33 kB / 1.196 GB, free: 3.949 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.2851, allocations: 4 kB / 1.196 GB, free: 3.945 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.000283/0.2854, allocations: 121.6 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2854, allocations: 55.34 kB / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.2855, allocations: 101.9 kB / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2855, allocations: 29.69 kB / 1.196 GB, free: 3.609 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.2856, allocations: 92.17 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.2856, allocations: 11.89 kB / 1.196 GB, free: 3.504 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.2856, allocations: 29.7 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.2857, allocations: 310.8 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.2858, allocations: 27.97 kB / 1.196 GB, free: 3.129 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.2859, allocations: 51.42 kB / 1.197 GB, free: 3.066 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.286, allocations: 83.27 kB / 1.197 GB, free: 2.973 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.286, allocations: 3.938 kB / 1.197 GB, free: 2.969 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001495/0.2861, allocations: 105.6 kB / 1.197 GB, free: 2.859 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2861, allocations: 4 kB / 1.197 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2861, allocations: 0 / 1.197 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2862, allocations: 4 kB / 1.197 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.2862, allocations: 15.92 kB / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2863, allocations: 0 / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.2863, allocations: 11.98 kB / 1.197 GB, free: 2.824 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2863, allocations: 4 kB / 1.197 GB, free: 2.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: 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 8.415e-05/0.2864, allocations: 124 kB / 1.197 GB, free: 2.691 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.2864, allocations: 11.95 kB / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.2866, allocations: 106.5 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2866, allocations: 0 / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2866, allocations: 3.938 kB / 1.197 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2866, allocations: 0 / 1.197 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.2869, allocations: 294.2 kB / 1.197 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2869, allocations: 0 / 1.197 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.2869, allocations: 15.98 kB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2869, allocations: 0 / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.2869, allocations: 3.938 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2869, allocations: 4 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2869, allocations: 0 / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.2871, allocations: 195.4 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.2871, allocations: 4 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2871, allocations: 4 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.2871, allocations: 11.98 kB / 1.198 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.2872, allocations: 4 kB / 1.198 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.2872, allocations: 0 / 1.198 GB, free: 1.984 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.2872, allocations: 91.27 kB / 1.198 GB, free: 1.895 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.1e-08/0.2872, allocations: 0 / 1.198 GB, free: 1.895 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001557/0.2874, allocations: 8 kB / 1.198 GB, free: 1.887 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: 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.0001336/0.2875, allocations: 107.1 kB / 1.198 GB, free: 1.773 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.2877, allocations: 63.98 kB / 1.198 GB, free: 1.711 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2877, allocations: 0 / 1.198 GB, free: 1.711 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.2877, allocations: 35.86 kB / 1.198 GB, free: 1.676 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.2879, allocations: 12.08 kB / 1.198 GB, free: 1.664 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.2882, allocations: 167.8 kB / 1.198 GB, free: 1.469 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.217e-05/0.2883, allocations: 75.27 kB / 1.198 GB, free: 1.375 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.2883, allocations: 11.62 kB / 1.198 GB, free: 1.363 MB / 0.823 GB Notification: Performance of SimCode: time 7.51e-07/0.2883, allocations: 4 kB / 1.198 GB, free: 1.359 MB / 0.823 GB Notification: Performance of Templates: time 0.001915/0.2902, allocations: 0.8839 MB / 1.199 GB, free: 496 kB / 0.823 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.917067045345902] Failed to read output from testmodel.py, exit status != 0: 0.29683992359787226 0.305705828 0.020677182000000002 Calling exit ...