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.000681/0.000681, 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.0006989/0.0006989, allocations: 212.6 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.8468/0.8468, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7195/0.7195, allocations: 203.8 MB / 0.5049 GB, free: 10.42 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.0008447/0.0008447, allocations: 67.5 kB / 0.7194 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4011, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001514/0.4026, allocations: 0.7214 MB / 0.8197 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000995/0.4036, allocations: 1.096 MB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.694e-05/0.4037, allocations: 0 / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.4037, allocations: 8.438 kB / 0.8208 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.4038, allocations: 16.86 kB / 0.8208 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.4041, allocations: 56.02 kB / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.4042, allocations: 72.16 kB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4043, allocations: 13.95 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.4044, allocations: 38.16 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.4044, allocations: 29.23 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.4045, allocations: 3.469 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.712e-05/0.4045, allocations: 18.59 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.4045, allocations: 14 kB / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.4046, allocations: 32.23 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.4047, allocations: 83.66 kB / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4047, allocations: 2.719 kB / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4047, allocations: 0.9375 kB / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4047, allocations: 0 / 0.8212 GB, free: 15.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00043/0.4052, allocations: 300.9 kB / 0.8215 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4052, allocations: 12.25 kB / 0.8215 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.4052, allocations: 6.109 kB / 0.8215 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.4053, allocations: 122.1 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4053, allocations: 5.031 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.4054, allocations: 4.344 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.4055, allocations: 70.41 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4055, allocations: 3.938 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4055, allocations: 4 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4055, allocations: 3.25 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.525e-05/0.4056, allocations: 41.89 kB / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.4061, allocations: 252.9 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.4062, allocations: 51.72 kB / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.4062, allocations: 35.98 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.4062, allocations: 1.625 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.4064, allocations: 78.3 kB / 0.8221 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.4064, allocations: 3.938 kB / 0.8221 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002838/0.4067, allocations: 132 kB / 0.8223 GB, free: 15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.4067, allocations: 53.38 kB / 0.8223 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.4068, allocations: 134.5 kB / 0.8224 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.4068, allocations: 27.44 kB / 0.8225 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.4068, allocations: 89.69 kB / 0.8225 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.4069, allocations: 18.98 kB / 0.8226 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.4069, allocations: 29.73 kB / 0.8226 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.407, allocations: 324.2 kB / 0.8229 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.407, allocations: 27.23 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.4071, allocations: 76.08 kB / 0.823 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.4072, allocations: 106.4 kB / 0.8231 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4072, allocations: 2.438 kB / 0.8231 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001881/0.4074, allocations: 137.4 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4074, allocations: 10.3 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4075, allocations: 0 / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4075, allocations: 3.719 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.4075, allocations: 14.78 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4076, allocations: 14.52 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.4076, allocations: 8.328 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4076, allocations: 11.38 kB / 0.8233 GB, free: 14.11 MB / 0.6198 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 7.011e-05/0.4077, allocations: 119.2 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.4077, allocations: 7.609 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.4077, allocations: 9.594 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4077, allocations: 1.219 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4077, allocations: 4 kB / 0.8234 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4077, allocations: 7.734 kB / 0.8234 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.408, allocations: 324.7 kB / 0.8237 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.408, allocations: 0 / 0.8237 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.4081, allocations: 7.844 kB / 0.8238 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4081, allocations: 1.5 kB / 0.8238 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.4081, allocations: 4 kB / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4081, allocations: 1.438 kB / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4081, allocations: 0 / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.4082, allocations: 209 kB / 0.824 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.4083, allocations: 11.03 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.4083, allocations: 1.984 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.4083, allocations: 6.734 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.4083, allocations: 8.266 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4083, allocations: 7.109 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.4084, allocations: 91.45 kB / 0.8241 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4084, allocations: 0 / 0.8241 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001819/0.4086, allocations: 14.8 kB / 0.8241 GB, free: 13.44 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: 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.0001181/0.4087, allocations: 105.8 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.4089, allocations: 77.86 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4089, allocations: 3.938 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.38e-05/0.4089, allocations: 30.84 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.4091, allocations: 12.2 kB / 0.8243 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.4094, allocations: 193.4 kB / 0.8245 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.4095, allocations: 76.62 kB / 0.8246 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.4095, allocations: 12.34 kB / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4095, allocations: 1.344 kB / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.002247/0.4118, allocations: 1.064 MB / 0.8256 GB, free: 12.96 MB / 0.6198 GB " [Timeout remaining time 660] 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.252495718188584] Failed to read output from testmodel.py, exit status != 0: 0.41686350759118795 0.42565178299999995 0.019244299000000003 Calling exit ...