Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001415/0.001415, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001598/0.001598, allocations: 181 kB / 23.36 MB, free: 1.129 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/1, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8378/0.8378, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 3.938 kB / 480 MB, free: 6.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.526e-05, allocations: 7.203 kB / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001423/0.001438, allocations: 0.782 MB / 480.8 MB, free: 6.184 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.002775, allocations: 1.232 MB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.002816, allocations: 0 / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.002837, allocations: 3.938 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.0029, allocations: 20.75 kB / 482.1 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.003241, allocations: 138.7 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.003393, allocations: 123.3 kB / 482.3 MB, free: 4.684 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.854e-05/0.003471, allocations: 12.8 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003584, allocations: 77.52 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.00366, allocations: 36.59 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.003681, allocations: 17.2 kB / 482.5 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.003755, allocations: 31.92 kB / 482.5 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.003775, allocations: 8 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.003814, allocations: 39.89 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003951, allocations: 104.8 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.003954, allocations: 3.984 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003955, allocations: 1.062 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.003958, allocations: 0 / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003227/0.004281, allocations: 317.4 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.004311, allocations: 8.594 kB / 483 MB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.004403, allocations: 17.55 kB / 483 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.383e-05/0.004476, allocations: 125.6 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.004487, allocations: 5.781 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.004501, allocations: 12.38 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.254e-05/0.004583, allocations: 68.84 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.004589, allocations: 0.9375 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.004597, allocations: 4.375 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004603, allocations: 9.656 kB / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.004629, allocations: 15.88 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.004884, allocations: 184.2 kB / 483.4 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.571e-05/0.004939, allocations: 35.5 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.004954, allocations: 12.8 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.004965, allocations: 4.969 kB / 483.4 MB, free: 3.477 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.938e-05/0.005045, allocations: 67.42 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.005046, allocations: 4.531 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001019/0.005147, allocations: 74.28 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.005175, allocations: 55.34 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.005244, allocations: 123.2 kB / 483.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.005261, allocations: 34.95 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.005302, allocations: 96.06 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.00532, allocations: 23.8 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.005367, allocations: 33.69 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.005449, allocations: 323.6 kB / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.0055, allocations: 53.69 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.005564, allocations: 95.44 kB / 484.4 MB, free: 2.418 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.005654, allocations: 108.6 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005657, allocations: 4.625 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001512/0.005808, allocations: 178.3 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.005836, allocations: 37.7 kB / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005841, allocations: 5.562 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.005851, allocations: 3.984 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.005912, allocations: 12 kB / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.005922, allocations: 4 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.005998, allocations: 24.88 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.006012, allocations: 9 kB / 484.8 MB, free: 1.996 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 6.982e-05/0.006081, allocations: 119.9 kB / 484.9 MB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.006094, allocations: 17.27 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.521e-05/0.006179, allocations: 64.17 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006181, allocations: 0 / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.006183, allocations: 0 / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.006186, allocations: 0 / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.006329, allocations: 222.8 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.00633, allocations: 1.688 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.006355, allocations: 7.938 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.00636, allocations: 9.016 kB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006365, allocations: 0 / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006366, allocations: 5.625 kB / 485.2 MB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006367, allocations: 0 / 485.2 MB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.815e-05/0.006445, allocations: 159.5 kB / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.006453, allocations: 11.89 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.006462, allocations: 0 / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.006497, allocations: 8.641 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.006525, allocations: 11.98 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006528, allocations: 1.969 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.656e-05/0.006545, allocations: 15.59 kB / 485.4 MB, free: 1.309 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006545, allocations: 0 / 485.4 MB, free: 1.309 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.006691, allocations: 27.98 kB / 485.5 MB, free: 1.281 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001149/0.006806, allocations: 81.61 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.006989, allocations: 155 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.006993, allocations: 4 kB / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.007027, allocations: 20.8 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.007176, allocations: 18.36 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.007619, allocations: 179.3 kB / 485.9 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.007656, allocations: 63.34 kB / 486 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.132e-05/0.007677, allocations: 5.859 kB / 486 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.007755, allocations: 68.8 kB / 486 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007756, allocations: 0 / 486 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of Templates: time 0.003126/0.01088, allocations: 1.619 MB / 487.7 MB, free: 15.13 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.676133661996573]