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.001373/0.001373, allocations: 75.56 kB / 19.16 MB, free: 2.57 MB / 14.72 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.001464/0.001464, allocations: 167.1 kB / 22.43 MB, free: 5.32 MB / 14.72 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 1.371/1.371, allocations: 177.2 MB / 202.8 MB, free: 9.207 MB / 190.1 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 1.177/1.177, allocations: 155 MB / 414.2 MB, free: 4.957 MB / 382.1 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 178] 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.002092/0.002092, allocations: 71.25 kB / 0.6192 GB, free: 4.148 MB / 0.5294 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.5382/0.5403, allocations: 102 MB / 0.7188 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001639/0.542, allocations: 0.7346 MB / 0.7195 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.543, allocations: 1.097 MB / 0.7205 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.543, allocations: 3.938 kB / 0.7205 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.5431, allocations: 5.312 kB / 0.7205 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.5431, allocations: 18.11 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.5434, allocations: 56.52 kB / 0.7206 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.5435, allocations: 64.89 kB / 0.7207 GB, free: 432 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.5436, allocations: 12.41 kB / 0.7207 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.5437, allocations: 46.7 kB / 0.7207 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.5437, allocations: 28.91 kB / 0.7208 GB, free: 388 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.5437, allocations: 5.188 kB / 0.7208 GB, free: 388 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.5438, allocations: 23.12 kB / 0.7208 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.5438, allocations: 13.62 kB / 0.7208 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.5438, allocations: 27.12 kB / 0.7208 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.544, allocations: 95.08 kB / 0.7209 GB, free: 312 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.544, allocations: 1.797 kB / 0.7209 GB, free: 312 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.544, allocations: 0 / 0.7209 GB, free: 312 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.544, allocations: 0 / 0.7209 GB, free: 312 kB / 0.6075 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.0004223/0.5444, allocations: 306.5 kB / 0.7212 GB, free: 16 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5444, allocations: 11.94 kB / 0.7212 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.5445, allocations: 7.859 kB / 0.7212 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.5446, allocations: 117.3 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5446, allocations: 6.547 kB / 0.7214 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.5446, allocations: 9 kB / 0.7214 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.5448, allocations: 67.55 kB / 0.7214 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5449, allocations: 5.094 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5449, allocations: 0.7031 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5449, allocations: 1.188 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.5451, allocations: 48.03 kB / 0.7215 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.5457, allocations: 257.6 kB / 0.7217 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.5458, allocations: 54.05 kB / 0.7218 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.5459, allocations: 27.92 kB / 0.7218 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.546, allocations: 2.141 kB / 0.7218 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.5462, allocations: 86.95 kB / 0.7219 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.5462, allocations: 0 / 0.7219 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0004317/0.5466, allocations: 127 kB / 0.722 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.5466, allocations: 58.7 kB / 0.7221 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.5468, allocations: 123.5 kB / 0.7222 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.5468, allocations: 30.52 kB / 0.7222 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.5468, allocations: 88.92 kB / 0.7223 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.5469, allocations: 16.03 kB / 0.7223 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.5469, allocations: 27.02 kB / 0.7223 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5471, allocations: 322.9 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5472, allocations: 30.62 kB / 0.7227 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.5473, allocations: 84.44 kB / 0.7228 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.5476, allocations: 103.3 kB / 0.7229 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5476, allocations: 0 / 0.7229 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003251/0.5479, allocations: 135.6 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5479, allocations: 5.969 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5479, allocations: 2.094 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5479, allocations: 2.188 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5481, allocations: 17.62 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5481, allocations: 2.734 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.359e-05/0.5482, allocations: 24.89 kB / 0.723 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.5482, allocations: 8.859 kB / 0.723 GB, free: 14.53 MB / 0.6231 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 0.00011/0.5483, allocations: 126.1 kB / 0.7232 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.5483, allocations: 11.92 kB / 0.7232 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.5483, allocations: 11.53 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5483, allocations: 1.125 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5483, allocations: 0.875 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5483, allocations: 0 / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.5488, allocations: 321.2 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5488, allocations: 3.938 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.5489, allocations: 9.625 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5489, allocations: 0 / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5489, allocations: 1.578 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5489, allocations: 1.156 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5489, allocations: 0 / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.5492, allocations: 213.7 kB / 0.7237 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.5493, allocations: 15.73 kB / 0.7237 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.5493, allocations: 5.828 kB / 0.7237 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.5494, allocations: 5.781 kB / 0.7237 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.5494, allocations: 4.984 kB / 0.7237 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.5494, allocations: 7.141 kB / 0.7238 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.5495, allocations: 91.42 kB / 0.7238 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.5495, allocations: 0 / 0.7238 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002595/0.5497, allocations: 22.23 kB / 0.7239 GB, free: 13.85 MB / 0.6231 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.0001439/0.5499, allocations: 104.3 kB / 0.724 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.5502, allocations: 76.98 kB / 0.724 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5502, allocations: 1.219 kB / 0.724 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.5503, allocations: 38.77 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.5505, allocations: 6.234 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.5509, allocations: 164.1 kB / 0.7242 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.551, allocations: 77.09 kB / 0.7243 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.551, allocations: 9.234 kB / 0.7243 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.5511, allocations: 14.23 kB / 0.7243 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.5511, allocations: 0 / 0.7243 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.004/0.5551, allocations: 1.034 MB / 0.7253 GB, free: 13.37 MB / 0.6231 GB " [Timeout remaining time 659] 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.9999174773693085] Failed to read output from testmodel.py, exit status != 0: 0.5635218564420938 0.577813983 0.030745237 Calling exit ...