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.000817/0.000817, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.001024/0.001024, allocations: 215.9 kB / 23.01 MB, free: 3.109 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.9307/0.9307, allocations: 230.6 MB / 256.8 MB, free: 3.438 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.03744/0.03744, allocations: 12.18 MB / 325.4 MB, free: 3.41 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.0004794/0.0004794, allocations: 25.94 kB / 384.9 MB, free: 45.83 MB / 298.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.634/1.634, allocations: 353.8 MB / 0.7794 GB, free: 13.01 MB / 0.5262 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.001436/0.001436, allocations: 124.7 kB / 1.061 GB, free: 9.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2006, allocations: 134.9 MB / 1.193 GB, free: 2.605 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001365/0.202, allocations: 0.6619 MB / 1.194 GB, free: 1.945 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.203, allocations: 1.123 MB / 1.195 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.203, allocations: 0 / 1.195 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.2031, allocations: 0 / 1.195 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.2031, allocations: 15.8 kB / 1.195 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.2034, allocations: 39.91 kB / 1.195 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.2035, allocations: 55.83 kB / 1.195 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.2036, allocations: 8 kB / 1.195 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.2036, allocations: 23.92 kB / 1.195 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.2037, allocations: 19.92 kB / 1.195 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.2037, allocations: 4 kB / 1.195 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.2037, allocations: 19.98 kB / 1.195 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.2038, allocations: 19.97 kB / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.2038, allocations: 15.88 kB / 1.195 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2039, allocations: 63.72 kB / 1.195 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2039, allocations: 0 / 1.195 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2039, allocations: 0 / 1.195 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2039, allocations: 0 / 1.195 GB, free: 0.5312 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.0004434/0.2044, allocations: 298.2 kB / 1.195 GB, free: 212 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2044, allocations: 11.98 kB / 1.195 GB, free: 200 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.2045, allocations: 8.891 kB / 1.195 GB, free: 192 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.331e-05/0.2046, allocations: 106.5 kB / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2046, allocations: 384 / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2046, allocations: 8.375 kB / 1.195 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2047, allocations: 58.22 kB / 1.195 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2047, allocations: 192 / 1.195 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2047, allocations: 11.94 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2047, allocations: 7.938 kB / 1.195 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.369e-05/0.2048, allocations: 47.81 kB / 1.196 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.2052, allocations: 255.8 kB / 1.196 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2053, allocations: 58.48 kB / 1.196 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.2053, allocations: 24.97 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.2053, allocations: 0 / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.2054, allocations: 79.31 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2054, allocations: 0 / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of matching and sorting (n=6): time 0.0002514/0.2057, allocations: 125.6 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2057, allocations: 51.41 kB / 1.196 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.2058, allocations: 105.8 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.2058, allocations: 25.7 kB / 1.196 GB, free: 15.11 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.2058, allocations: 92.09 kB / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.2058, allocations: 7.906 kB / 1.196 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.2059, allocations: 25.7 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.2059, allocations: 318.8 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.206, allocations: 27.97 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.2061, allocations: 51.34 kB / 1.197 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.2062, allocations: 83.28 kB / 1.197 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2062, allocations: 0 / 1.197 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001389/0.2063, allocations: 101.6 kB / 1.197 GB, free: 14.37 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2063, allocations: 4 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2063, allocations: 4 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2063, allocations: 4.094 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.2064, allocations: 11.98 kB / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2064, allocations: 4 kB / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.2064, allocations: 7.984 kB / 1.197 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2065, allocations: 4 kB / 1.197 GB, free: 14.33 MB / 0.8387 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 6.594e-05/0.2065, allocations: 125.7 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.2065, allocations: 3.953 kB / 1.197 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.2067, allocations: 106 kB / 1.197 GB, free: 14.08 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2067, allocations: 0 / 1.197 GB, free: 14.08 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2067, allocations: 0 / 1.197 GB, free: 14.08 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2067, allocations: 3.984 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.207, allocations: 325.6 kB / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.207, allocations: 0.625 kB / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.207, allocations: 15.92 kB / 1.197 GB, free: 13.69 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.207, allocations: 8 kB / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.207, allocations: 0 / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.207, allocations: 4 kB / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.207, allocations: 0 / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.2072, allocations: 199.3 kB / 1.198 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/0.2072, allocations: 4 kB / 1.198 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.2072, allocations: 3.938 kB / 1.198 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.2072, allocations: 11.98 kB / 1.198 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2073, allocations: 7.984 kB / 1.198 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2073, allocations: 7.938 kB / 1.198 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.848e-05/0.2073, allocations: 83.28 kB / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2073, allocations: 0 / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001703/0.2075, allocations: 11.98 kB / 1.198 GB, free: 13.34 MB / 0.8387 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.0001091/0.2076, allocations: 99.25 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.2077, allocations: 63.94 kB / 1.198 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.2077, allocations: 0 / 1.198 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.2078, allocations: 39.91 kB / 1.198 GB, free: 13.13 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.208, allocations: 5.969 kB / 1.198 GB, free: 13.13 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.2082, allocations: 168 kB / 1.198 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2084, allocations: 0.6885 MB / 1.199 GB, free: 12.22 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.2084, allocations: 11.44 kB / 1.199 GB, free: 12.21 MB / 0.8387 GB Notification: Performance of SimCode: time 6.01e-07/0.2084, allocations: 0 / 1.199 GB, free: 12.21 MB / 0.8387 GB Notification: Performance of Templates: time 0.001742/0.2102, allocations: 0.8701 MB / 1.2 GB, free: 11.34 MB / 0.8387 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: 6.84287684969604] Failed to read output from testmodel.py, exit status != 0: 0.21561534702777863 0.223370179 0.017798541 Calling exit ...