Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009217/0.0009217, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009839/0.0009839, allocations: 173 kB / 23.49 MB, free: 1.055 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.9979/0.9979, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8076/0.8076, allocations: 154.6 MB / 414.9 MB, free: 0.6836 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.043e-06, allocations: 0 / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.101e-05/4.805e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0036/0.003648, allocations: 0.7441 MB / 0.5211 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.005438, allocations: 1.12 MB / 0.5222 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.005505, allocations: 4 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.005541, allocations: 8.547 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.005631, allocations: 8.531 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.006009, allocations: 56.33 kB / 0.5222 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.006139, allocations: 75.77 kB / 0.5223 GB, free: 500 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.006258, allocations: 17.59 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.006367, allocations: 39.91 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.00642, allocations: 23.95 kB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.006437, allocations: 4 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.006488, allocations: 24.7 kB / 0.5224 GB, free: 388 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.006508, allocations: 11.98 kB / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.006546, allocations: 28.78 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.006684, allocations: 63.73 kB / 0.5225 GB, free: 284 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.006687, allocations: 3.031 kB / 0.5225 GB, free: 284 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.006689, allocations: 0 / 0.5225 GB, free: 284 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.006694, allocations: 0 / 0.5225 GB, free: 284 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.0004549/0.007149, allocations: 392.4 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.007188, allocations: 12.03 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.007234, allocations: 12.88 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.742e-05/0.007321, allocations: 123.9 kB / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.007333, allocations: 4.375 kB / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.007346, allocations: 8.812 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.007482, allocations: 72.03 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.007487, allocations: 192 / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.007497, allocations: 384 / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007505, allocations: 4.625 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/0.007538, allocations: 12.95 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.007969, allocations: 308.6 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.008061, allocations: 47.05 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.008086, allocations: 12.69 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.008108, allocations: 7.938 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.094e-05/0.008189, allocations: 65.2 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.008191, allocations: 0.9688 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000183/0.008374, allocations: 81.64 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.008415, allocations: 60.36 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.008511, allocations: 177.9 kB / 0.5239 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.008525, allocations: 29.7 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.008593, allocations: 148 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.008612, allocations: 15.91 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.008657, allocations: 35.36 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.008792, allocations: 0.489 MB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.008827, allocations: 17.66 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.008882, allocations: 69.8 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/0.008975, allocations: 95.05 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.008977, allocations: 0.6875 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001342/0.009112, allocations: 107.3 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.009127, allocations: 4 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.009132, allocations: 0.5 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.009146, allocations: 4.562 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.009242, allocations: 15.98 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.00925, allocations: 9.094 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.009285, allocations: 4 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.009295, allocations: 4 kB / 0.5249 GB, free: 13.62 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 9.194e-05/0.009387, allocations: 169.3 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.0094, allocations: 13.7 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.009435, allocations: 12.44 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.009439, allocations: 3.984 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.009444, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.00945, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.009743, allocations: 347.2 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.009744, allocations: 0 / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.009772, allocations: 7.984 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009774, allocations: 0 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.009782, allocations: 2.75 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009784, allocations: 7.938 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009785, allocations: 0 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.009909, allocations: 227.9 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.009918, allocations: 7.953 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.009931, allocations: 3.984 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.009966, allocations: 0 / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.01, allocations: 13.98 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.01001, allocations: 4 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.01005, allocations: 139.2 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01005, allocations: 0 / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001672/0.01022, allocations: 12 kB / 0.5258 GB, free: 12.6 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.0001312/0.01035, allocations: 104.1 kB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.01046, allocations: 60.3 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.01047, allocations: 0 / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.0105, allocations: 27.66 kB / 0.526 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.01072, allocations: 22.7 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.01103, allocations: 155.6 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.01107, allocations: 67.34 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.01109, allocations: 4.656 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.01112, allocations: 19.7 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01112, allocations: 0 / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.002912/0.01403, allocations: 1.023 MB / 0.5272 GB, free: 11.16 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8152244379743934]