Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001002/0.001002, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001124/0.001124, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.087/1.087, allocations: 177.1 MB / 204.5 MB, free: 5.523 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-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 0.8052/0.8052, allocations: 154.9 MB / 415.9 MB, free: 236 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.5219 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.515e-05, allocations: 4.281 kB / 0.5219 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00153/0.001555, allocations: 0.7314 MB / 0.5226 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002748, allocations: 1.126 MB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.002799, allocations: 0 / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.002828, allocations: 3.938 kB / 0.5237 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/0.002907, allocations: 15.86 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.003204, allocations: 57.42 kB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.003307, allocations: 71.77 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.003399, allocations: 12.17 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.003485, allocations: 47.89 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.003536, allocations: 25.44 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003553, allocations: 8 kB / 0.524 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.00361, allocations: 19.98 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.003631, allocations: 11.97 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.003655, allocations: 20.69 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.003771, allocations: 63.73 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003772, allocations: 1.469 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003773, allocations: 0 / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003778, allocations: 0 / 0.5241 GB, free: 15.3 MB / 0.4948 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.0003699/0.004147, allocations: 400.4 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.00418, allocations: 9.375 kB / 0.5245 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.004217, allocations: 12.89 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/0.004305, allocations: 124.1 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.004318, allocations: 13.05 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.004328, allocations: 4.375 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.004431, allocations: 70.09 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004439, allocations: 192 / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.004446, allocations: 384 / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.004455, allocations: 4.125 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.004476, allocations: 8 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.004819, allocations: 284.2 kB / 0.525 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.004899, allocations: 39.61 kB / 0.525 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.004916, allocations: 11.69 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.004934, allocations: 4.531 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.185e-05/0.005016, allocations: 77.75 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.005018, allocations: 0 / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001623/0.00518, allocations: 86.33 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.005217, allocations: 51.41 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.005301, allocations: 171.4 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.005315, allocations: 33.69 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.005367, allocations: 142.8 kB / 0.5255 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.005387, allocations: 20.83 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.005428, allocations: 31.36 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.005537, allocations: 0.4923 MB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.005556, allocations: 9.25 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.005603, allocations: 73.78 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.005677, allocations: 95.78 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00568, allocations: 1.281 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001239/0.005804, allocations: 98.72 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005816, allocations: 4 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.00582, allocations: 4 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.005831, allocations: 6.875 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.005913, allocations: 15.98 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.005917, allocations: 3.938 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.005954, allocations: 8 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.005964, allocations: 7.984 kB / 0.5264 GB, free: 12.69 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 7.796e-05/0.006042, allocations: 166.9 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.006055, allocations: 18.62 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.006077, allocations: 8.438 kB / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006079, allocations: 0 / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.006081, allocations: 3.938 kB / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.006085, allocations: 4 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.006312, allocations: 317.9 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006313, allocations: 0 / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.006344, allocations: 4.781 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.006346, allocations: 4 kB / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.00635, allocations: 1.062 kB / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.006352, allocations: 0 / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.006353, allocations: 0 / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.006474, allocations: 232.9 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.006484, allocations: 7.953 kB / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006493, allocations: 1.562 kB / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.006528, allocations: 4 kB / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.00656, allocations: 11.97 kB / 0.5271 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.006565, allocations: 0 / 0.5271 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.006602, allocations: 133.6 kB / 0.5273 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006602, allocations: 0 / 0.5273 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000182/0.006784, allocations: 20 kB / 0.5273 GB, free: 11.71 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.0001175/0.006902, allocations: 103.2 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.006997, allocations: 50.22 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.006999, allocations: 0 / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-05/0.007032, allocations: 27.67 kB / 0.5275 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.007227, allocations: 19.42 kB / 0.5275 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.007493, allocations: 163.5 kB / 0.5276 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.007534, allocations: 60.84 kB / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.00756, allocations: 9.125 kB / 0.5277 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.007783, allocations: 78.19 kB / 0.5278 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.007784, allocations: 1.406 kB / 0.5278 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.002995/0.01078, allocations: 1.148 MB / 0.5289 GB, free: 10.1 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.797083741053939]