Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0007268/0.0007268, allocations: 115 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.00075/0.00075, allocations: 203.2 kB / 23 MB, free: 3.113 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.8578/0.8578, allocations: 230.6 MB / 256.8 MB, free: 3.477 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.7437/0.7437, allocations: 203.8 MB / 0.5049 GB, free: 0.7344 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [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.0009654/0.0009654, allocations: 71.91 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4866/0.4876, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001578/0.4892, allocations: 0.7493 MB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4903, allocations: 1.108 MB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.4904, allocations: 0 / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.4904, allocations: 5 kB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.4905, allocations: 15.98 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.4909, allocations: 55.33 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.491, allocations: 71.69 kB / 0.8211 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4911, allocations: 15.14 kB / 0.8211 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.4912, allocations: 36.89 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.4912, allocations: 35.62 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.4913, allocations: 6.188 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.4913, allocations: 21.98 kB / 0.8212 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.4914, allocations: 13.31 kB / 0.8212 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.4914, allocations: 35.22 kB / 0.8212 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.4916, allocations: 77.47 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4916, allocations: 0.7969 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4916, allocations: 1.594 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4916, allocations: 0 / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004399/0.492, allocations: 308.2 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4921, allocations: 10.34 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.4921, allocations: 9.609 kB / 0.8216 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.537e-05/0.4922, allocations: 120.2 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4922, allocations: 5 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.4922, allocations: 8.531 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.4924, allocations: 65.08 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4924, allocations: 5.844 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4924, allocations: 0.8438 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4924, allocations: 1.125 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4925, allocations: 53.06 kB / 0.8218 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.4929, allocations: 288.8 kB / 0.8221 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.4931, allocations: 49.34 kB / 0.8222 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.4931, allocations: 36.08 kB / 0.8222 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.4931, allocations: 1.219 kB / 0.8222 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.4933, allocations: 89.7 kB / 0.8223 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.4933, allocations: 0 / 0.8223 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000287/0.4936, allocations: 128 kB / 0.8224 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.4936, allocations: 54.28 kB / 0.8225 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.4937, allocations: 127.6 kB / 0.8226 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.4937, allocations: 26.27 kB / 0.8226 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.4937, allocations: 89.2 kB / 0.8227 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.4937, allocations: 23.88 kB / 0.8227 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.4938, allocations: 35.45 kB / 0.8228 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.4938, allocations: 318.2 kB / 0.8231 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.4939, allocations: 30.5 kB / 0.8231 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.4939, allocations: 74.39 kB / 0.8232 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.4941, allocations: 107.4 kB / 0.8233 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4941, allocations: 0 / 0.8233 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001869/0.4943, allocations: 130.4 kB / 0.8234 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4943, allocations: 7.594 kB / 0.8234 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4943, allocations: 11.03 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4943, allocations: 1.5 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.4944, allocations: 21.03 kB / 0.8234 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.4944, allocations: 2.734 kB / 0.8234 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.4945, allocations: 16.44 kB / 0.8234 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.4945, allocations: 9.047 kB / 0.8234 GB, free: 21.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.31e-05/0.4945, allocations: 121.7 kB / 0.8236 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.4945, allocations: 10.48 kB / 0.8236 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.4946, allocations: 11.2 kB / 0.8236 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4946, allocations: 1.734 kB / 0.8236 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4946, allocations: 0 / 0.8236 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4946, allocations: 0.6094 kB / 0.8236 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.4949, allocations: 350.7 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4949, allocations: 1.125 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.4949, allocations: 7.953 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4949, allocations: 0.9375 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.4949, allocations: 5.219 kB / 0.8239 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4949, allocations: 4.734 kB / 0.8239 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4949, allocations: 1.125 kB / 0.8239 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.4951, allocations: 203.2 kB / 0.8241 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.4951, allocations: 7.266 kB / 0.8241 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.4951, allocations: 1.969 kB / 0.8241 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.4952, allocations: 17.7 kB / 0.8242 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.4952, allocations: 5.312 kB / 0.8242 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4952, allocations: 7.312 kB / 0.8242 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.4952, allocations: 92.62 kB / 0.8243 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4952, allocations: 0 / 0.8243 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001806/0.4954, allocations: 17.36 kB / 0.8243 GB, free: 21.28 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001321/0.4956, allocations: 98.47 kB / 0.8244 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.4958, allocations: 78.09 kB / 0.8244 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4958, allocations: 0 / 0.8244 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.4958, allocations: 33.95 kB / 0.8245 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.4961, allocations: 13.86 kB / 0.8245 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.4964, allocations: 198.2 kB / 0.8247 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.414e-05/0.4965, allocations: 0.6882 MB / 0.8254 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.4965, allocations: 13 kB / 0.8254 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4965, allocations: 0 / 0.8254 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of Templates: time 0.002414/0.4989, allocations: 1.059 MB / 0.8264 GB, free: 20.18 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.616284643067047] Failed to read output from testmodel.py, exit status != 0: 0.5047316839918494 0.5131132079999999 0.019837054 Calling exit ...