Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0009107/0.0009107, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007797/0.0007797, allocations: 166.3 kB / 23.18 MB, free: 1.387 MB / 18.57 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.8399/0.8399, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.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.6807/0.6807, allocations: 155 MB / 415 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [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.0009196/0.0009196, allocations: 75.88 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4144, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001339/0.4158, allocations: 0.7096 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009107/0.4167, allocations: 1.103 MB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.4167, allocations: 1.188 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.4167, allocations: 4.688 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.899e-05/0.4168, allocations: 19.38 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.4171, allocations: 55.95 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.4172, allocations: 73.58 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4173, allocations: 11.31 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.4174, allocations: 42.67 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.4175, allocations: 33.53 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4175, allocations: 13.53 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.4175, allocations: 15.34 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.4176, allocations: 13.16 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.4176, allocations: 31.34 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.4177, allocations: 87.23 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4177, allocations: 0 / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4177, allocations: 1.125 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4177, allocations: 0 / 0.7217 GB, free: 22.02 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.0003895/0.4181, allocations: 302.5 kB / 0.7219 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4182, allocations: 15.47 kB / 0.722 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.4182, allocations: 12.45 kB / 0.722 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.491e-05/0.4183, allocations: 120.3 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4183, allocations: 11.27 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.4183, allocations: 4.438 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.4184, allocations: 65.22 kB / 0.7222 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4185, allocations: 3.938 kB / 0.7222 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4185, allocations: 5.781 kB / 0.7222 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4185, allocations: 1.125 kB / 0.7222 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4186, allocations: 43.3 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.419, allocations: 258.5 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4191, allocations: 50.06 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.4191, allocations: 31.66 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4191, allocations: 1.891 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.4193, allocations: 90.83 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4193, allocations: 0 / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002776/0.4195, allocations: 124.1 kB / 0.7228 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.4196, allocations: 55.02 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.082e-05/0.4196, allocations: 122.8 kB / 0.7229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.4196, allocations: 27.75 kB / 0.7229 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.4197, allocations: 92.14 kB / 0.723 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.4197, allocations: 15.89 kB / 0.7231 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.4197, allocations: 34.62 kB / 0.7231 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.849e-05/0.4197, allocations: 323.3 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.4198, allocations: 35.31 kB / 0.7234 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.4199, allocations: 75.47 kB / 0.7235 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.42, allocations: 108.3 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.42, allocations: 0 / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001625/0.4202, allocations: 134.9 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4202, allocations: 6.953 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4202, allocations: 4.938 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4202, allocations: 2.188 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.4203, allocations: 18.5 kB / 0.7238 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4203, allocations: 2.188 kB / 0.7238 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.4203, allocations: 16.64 kB / 0.7238 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4203, allocations: 10.12 kB / 0.7238 GB, free: 20.24 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 4.8e-05/0.4204, allocations: 123.8 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.4204, allocations: 7.266 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.4204, allocations: 14.61 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4204, allocations: 4.969 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4204, allocations: 1.125 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4204, allocations: 0.6094 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.4206, allocations: 309.6 kB / 0.7242 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4206, allocations: 0 / 0.7242 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.4207, allocations: 8.25 kB / 0.7242 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4207, allocations: 1.75 kB / 0.7242 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4207, allocations: 4 kB / 0.7242 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4207, allocations: 5.844 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4207, allocations: 0 / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.4208, allocations: 209.5 kB / 0.7244 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.4208, allocations: 10.86 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.4208, allocations: 1.797 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.994e-05/0.4209, allocations: 11.05 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.4209, allocations: 8.594 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4209, allocations: 6.797 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.508e-05/0.4209, allocations: 96.47 kB / 0.7246 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4209, allocations: 4 kB / 0.7246 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001622/0.4211, allocations: 25.92 kB / 0.7246 GB, free: 19.56 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 9.386e-05/0.4212, allocations: 99.3 kB / 0.7247 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.4214, allocations: 73.89 kB / 0.7248 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4214, allocations: 0 / 0.7248 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.4214, allocations: 39 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.4216, allocations: 16.16 kB / 0.7248 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.4219, allocations: 187.9 kB / 0.725 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.4219, allocations: 78.12 kB / 0.7251 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.4219, allocations: 12.81 kB / 0.7251 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4219, allocations: 0 / 0.7251 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.002015/0.4239, allocations: 1.071 MB / 0.7261 GB, free: 19.1 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.206925990991294] Failed to read output from testmodel.py, exit status != 0: 0.4288261439651251 0.43605527199999994 0.016766882 Calling exit ...