Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008126/0.0008126, allocations: 100.4 kB / 19.71 MB, free: 448 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.0009891/0.0009891, allocations: 212.1 kB / 23 MB, free: 2.973 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.8707/0.8707, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7341/0.7341, allocations: 203.8 MB / 0.5049 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: IDEAS 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.0009141/0.0009141, allocations: 75.03 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4073, allocations: 102 MB / 0.819 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001327/0.4086, allocations: 0.6514 MB / 0.8196 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008525/0.4095, allocations: 1.085 MB / 0.8207 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.4095, allocations: 1.469 kB / 0.8207 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.4095, allocations: 3.938 kB / 0.8207 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.4096, allocations: 6.359 kB / 0.8207 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.4098, allocations: 39.44 kB / 0.8207 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.466e-05/0.4099, allocations: 48.83 kB / 0.8208 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.41, allocations: 14.95 kB / 0.8208 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.646e-05/0.4101, allocations: 17.62 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.4101, allocations: 18.66 kB / 0.8208 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.4101, allocations: 9.531 kB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.74e-05/0.4102, allocations: 22.67 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.4102, allocations: 10.17 kB / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.4102, allocations: 21.67 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.4104, allocations: 60.27 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4104, allocations: 3.938 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4104, allocations: 0 / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4104, allocations: 0 / 0.821 GB, free: 15.98 MB / 0.6198 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.0004389/0.4108, allocations: 297.8 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.4109, allocations: 8.75 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.4109, allocations: 10.19 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.442e-05/0.411, allocations: 114.3 kB / 0.8214 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.411, allocations: 2.547 kB / 0.8214 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.411, allocations: 3.656 kB / 0.8214 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4112, allocations: 61.23 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4112, allocations: 192 / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4112, allocations: 6.547 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4112, allocations: 0 / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.4113, allocations: 50.17 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.4116, allocations: 210.8 kB / 0.8217 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4117, allocations: 47.73 kB / 0.8217 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.4118, allocations: 37.39 kB / 0.8218 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4118, allocations: 1.594 kB / 0.8218 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.4119, allocations: 85.12 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.4119, allocations: 3.984 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002552/0.4122, allocations: 121.2 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.4122, allocations: 53.53 kB / 0.822 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.4123, allocations: 103.6 kB / 0.8221 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.4123, allocations: 28.45 kB / 0.8222 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.4123, allocations: 85.55 kB / 0.8222 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.4123, allocations: 20.72 kB / 0.8223 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.4124, allocations: 24.34 kB / 0.8223 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.4124, allocations: 319.8 kB / 0.8226 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.4125, allocations: 21.98 kB / 0.8226 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.4125, allocations: 52.3 kB / 0.8227 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.4127, allocations: 81.92 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4127, allocations: 5.125 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001498/0.4128, allocations: 108.4 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4128, allocations: 3.375 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4128, allocations: 1.156 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4128, allocations: 7.688 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.4129, allocations: 13.7 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4129, allocations: 0 / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.4129, allocations: 12.33 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4129, allocations: 3.25 kB / 0.8229 GB, free: 14.33 MB / 0.6198 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.024e-05/0.413, allocations: 121.4 kB / 0.823 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-06/0.413, allocations: 8.547 kB / 0.823 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.4132, allocations: 100.5 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4132, allocations: 0 / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4132, allocations: 0.75 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4132, allocations: 1.125 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.4134, allocations: 302.9 kB / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4134, allocations: 3.938 kB / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.4134, allocations: 8.203 kB / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4135, allocations: 1.656 kB / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.4135, allocations: 0 / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4135, allocations: 2.219 kB / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4135, allocations: 0 / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.4136, allocations: 201.8 kB / 0.8236 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-06/0.4136, allocations: 9.234 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-06/0.4136, allocations: 1.219 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.77e-05/0.4137, allocations: 14.86 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.4137, allocations: 4.031 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4137, allocations: 2.594 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.4137, allocations: 87.84 kB / 0.8237 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4137, allocations: 0 / 0.8237 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001563/0.4139, allocations: 18.06 kB / 0.8237 GB, free: 13.62 MB / 0.6198 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 9.774e-05/0.414, allocations: 98.94 kB / 0.8238 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.4142, allocations: 67.8 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4142, allocations: 0 / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.4142, allocations: 29.42 kB / 0.8239 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.4144, allocations: 12.48 kB / 0.8239 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.4147, allocations: 165.7 kB / 0.8241 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.4147, allocations: 69.97 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.4147, allocations: 11.23 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.4147, allocations: 1.219 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.001973/0.4167, allocations: 0.8755 MB / 0.825 GB, free: 13.2 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.24145120382309] Failed to read output from testmodel.py, exit status != 0: 0.4216520073823631 0.43050452599999994 0.018396345 Calling exit ...