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.001382/0.001382, allocations: 92.7 kB / 19.44 MB, free: 320 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.001536/0.001536, allocations: 161.3 kB / 22.75 MB, free: 1.652 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 1.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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.324/1.324, allocations: 154.8 MB / 414.3 MB, free: 480 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 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: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.5199 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.346e-05, allocations: 6.969 kB / 0.5199 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002055/0.002088, allocations: 0.7219 MB / 0.5206 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.003871, allocations: 1.098 MB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.003923, allocations: 0 / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.003958, allocations: 5.281 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.004046, allocations: 11.86 kB / 0.5217 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.00437, allocations: 59.75 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.004504, allocations: 71.19 kB / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.004627, allocations: 12.17 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.004748, allocations: 47.89 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.004808, allocations: 23.91 kB / 0.5219 GB, free: 288 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.004831, allocations: 8 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.004898, allocations: 19.97 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.004922, allocations: 8 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.004968, allocations: 19.92 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005154, allocations: 98.33 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.005158, allocations: 0.5625 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005159, allocations: 0 / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005164, allocations: 4.562 kB / 0.522 GB, free: 132 kB / 490.7 MB 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.0006124/0.005776, allocations: 302.6 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.00582, allocations: 12.91 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.005872, allocations: 8.891 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.006002, allocations: 111.2 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.006022, allocations: 12.31 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.00604, allocations: 4.375 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.00625, allocations: 67.16 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006259, allocations: 192 / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.006268, allocations: 384 / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.006275, allocations: 5.125 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.006463, allocations: 49.5 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.007122, allocations: 260.3 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.007303, allocations: 55.36 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.007405, allocations: 30.19 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.007432, allocations: 7.938 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.007679, allocations: 80.73 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.007681, allocations: 4 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000468/0.008149, allocations: 132 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.008202, allocations: 55.41 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.008327, allocations: 121.8 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.008353, allocations: 25.7 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.008429, allocations: 90.45 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.008459, allocations: 19.86 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.008524, allocations: 29.7 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.008704, allocations: 326.8 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.008818, allocations: 27.97 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.008971, allocations: 72.52 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.009221, allocations: 104.7 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.009223, allocations: 0 / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003594/0.009582, allocations: 138.5 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.009595, allocations: 8.938 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.009599, allocations: 0 / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.009613, allocations: 4 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.009726, allocations: 16.92 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.009738, allocations: 7.938 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.009832, allocations: 20.38 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.009849, allocations: 4.688 kB / 0.5241 GB, free: 13.77 MB / 0.4948 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.0001122/0.009961, allocations: 119.1 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.009984, allocations: 11.89 kB / 0.5243 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.01002, allocations: 20.36 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.01002, allocations: 0.625 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01002, allocations: 0 / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01003, allocations: 4.656 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.01055, allocations: 315.3 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01055, allocations: 0 / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.01061, allocations: 14.42 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01061, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.01062, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.01062, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01062, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.01097, allocations: 222.7 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.01099, allocations: 7.891 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.011, allocations: 0 / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.01109, allocations: 11.98 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.01113, allocations: 4 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01114, allocations: 7.984 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.01121, allocations: 90.12 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01121, allocations: 0.5312 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002776/0.01149, allocations: 19.98 kB / 0.5249 GB, free: 12.88 MB / 0.4948 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.0001824/0.01167, allocations: 100.7 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.01198, allocations: 82.66 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01198, allocations: 0 / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.0121, allocations: 27.98 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.01241, allocations: 20.52 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.01296, allocations: 165.7 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.781e-05/0.01305, allocations: 77.67 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.436e-05/0.01308, allocations: 5.5 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.01312, allocations: 12.5 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.01312, allocations: 0 / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.00414/0.01726, allocations: 1.029 MB / 0.5264 GB, free: 11.41 MB / 0.4948 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.994150178041309]