Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007026/0.0007026, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001711, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006847/0.0006847, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009034/0.001588, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.049/1.049, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1281/1.177, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.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.8254/0.8254, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2658/1.091, allocations: 49.04 MB / 447.8 MB, free: 6.559 MB / 426.7 MB " [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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 449.1 MB, free: 5.25 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.378e-06/1.094e-05, allocations: 4.281 kB / 449.1 MB, free: 5.246 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00117/0.001181, allocations: 0.7911 MB / 449.9 MB, free: 4.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.002086, allocations: 1.132 MB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.002121, allocations: 0 / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.002147, allocations: 7.875 kB / 451.1 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.002189, allocations: 8.266 kB / 451.1 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.002367, allocations: 61.33 kB / 451.1 MB, free: 3.285 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.002466, allocations: 69.52 kB / 451.2 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.002551, allocations: 13.27 kB / 451.2 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.744e-05/0.002649, allocations: 54.95 kB / 451.3 MB, free: 3.164 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.002705, allocations: 22.59 kB / 451.3 MB, free: 3.145 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.002722, allocations: 8.75 kB / 451.3 MB, free: 3.137 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.002794, allocations: 20.86 kB / 451.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.002817, allocations: 11.42 kB / 451.3 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.002846, allocations: 14.3 kB / 451.4 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.002962, allocations: 55.81 kB / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.002974, allocations: 1.875 kB / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002974, allocations: 0 / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.002987, allocations: 3.938 kB / 451.4 MB, free: 3.039 MB / 426.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.0004065/0.003394, allocations: 286.4 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.003422, allocations: 8.906 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.003453, allocations: 12.94 kB / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.701e-05/0.00354, allocations: 123 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.003551, allocations: 8.359 kB / 451.8 MB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.003564, allocations: 4.375 kB / 451.8 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.003657, allocations: 62.94 kB / 451.9 MB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.003663, allocations: 0.875 kB / 451.9 MB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.003672, allocations: 5.438 kB / 451.9 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003677, allocations: 4.125 kB / 451.9 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.003696, allocations: 11.94 kB / 451.9 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.003987, allocations: 193 kB / 452.1 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.004056, allocations: 27.3 kB / 452.1 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.004072, allocations: 14.45 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.004089, allocations: 4 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/0.00416, allocations: 55.84 kB / 452.2 MB, free: 2.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.004161, allocations: 0 / 452.2 MB, free: 2.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001123/0.004273, allocations: 67.52 kB / 452.3 MB, free: 2.078 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.004307, allocations: 59.34 kB / 452.3 MB, free: 2.008 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.004371, allocations: 124.7 kB / 452.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.004383, allocations: 29.7 kB / 452.5 MB, free: 1.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.004415, allocations: 89.59 kB / 452.6 MB, free: 1.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.004431, allocations: 15.89 kB / 452.6 MB, free: 1.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.004464, allocations: 29.69 kB / 452.6 MB, free: 1.699 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.004533, allocations: 322.8 kB / 452.9 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.004548, allocations: 8.625 kB / 452.9 MB, free: 1.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.004583, allocations: 54.08 kB / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.784e-05/0.004641, allocations: 78.88 kB / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.004643, allocations: 0 / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.013e-05/0.004723, allocations: 77.55 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004735, allocations: 8.719 kB / 453.2 MB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004739, allocations: 9.203 kB / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004751, allocations: 0 / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.004831, allocations: 27.91 kB / 453.2 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.004835, allocations: 4.75 kB / 453.2 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.004867, allocations: 9.156 kB / 453.2 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.004877, allocations: 8.5 kB / 453.2 MB, free: 1.055 MB / 426.7 MB 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 5.765e-05/0.004934, allocations: 112.1 kB / 453.3 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.004945, allocations: 16.55 kB / 453.3 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.004966, allocations: 4.438 kB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.004967, allocations: 4.562 kB / 453.4 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.004969, allocations: 0.625 kB / 453.4 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.004972, allocations: 0 / 453.4 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.005133, allocations: 223.3 kB / 453.6 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.005135, allocations: 7.938 kB / 453.6 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.005157, allocations: 4.938 kB / 453.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.005163, allocations: 5.453 kB / 453.6 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.005165, allocations: 9.656 kB / 453.6 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.00517, allocations: 3.984 kB / 453.6 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005171, allocations: 0 / 453.6 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005172, allocations: 0 / 453.6 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.484e-05/0.005247, allocations: 151.5 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.005256, allocations: 4.891 kB / 453.8 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.005286, allocations: 4 kB / 453.8 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.005314, allocations: 8.984 kB / 453.8 MB, free: 472 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.005318, allocations: 4 kB / 453.8 MB, free: 468 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.429e-05/0.005332, allocations: 21.5 kB / 453.8 MB, free: 448 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005332, allocations: 0 / 453.8 MB, free: 448 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.005473, allocations: 19.92 kB / 453.8 MB, free: 428 kB / 426.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 (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.0001025/0.005576, allocations: 89.02 kB / 453.9 MB, free: 332 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.108e-05/0.005657, allocations: 43.11 kB / 453.9 MB, free: 288 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.005662, allocations: 3.984 kB / 453.9 MB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.062e-05/0.005692, allocations: 20.8 kB / 454 MB, free: 260 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.005864, allocations: 102.2 kB / 454.1 MB, free: 140 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.006225, allocations: 162 kB / 454.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.014e-05/0.006255, allocations: 59.34 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.378e-05/0.006278, allocations: 10.2 kB / 454.3 MB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.00633, allocations: 67.36 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.00633, allocations: 0 / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of Templates: time 0.002936/0.009266, allocations: 1.057 MB / 455.4 MB, free: 14.86 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6000075228512287]