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.0006976/0.0006976, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009899/0.001687, 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.0007064/0.0007064, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009817/0.001688, 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.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09422/1.122, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8485/0.8485, allocations: 154.6 MB / 398.8 MB, free: 380 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.3442/1.193, allocations: 49.05 MB / 447.8 MB, free: 6.602 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.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 2.024e-06/2.024e-06, allocations: 0 / 449.1 MB, free: 5.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.17e-05, allocations: 2.312 kB / 449.1 MB, free: 5.316 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001664/0.001686, allocations: 0.7998 MB / 449.9 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.002923, allocations: 1.218 MB / 451.1 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.002968, allocations: 0 / 451.1 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.002997, allocations: 8.688 kB / 451.1 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.003049, allocations: 15.53 kB / 451.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.0034, allocations: 128.8 kB / 451.3 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.003573, allocations: 126.5 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.003662, allocations: 16.17 kB / 451.4 MB, free: 3.059 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.003784, allocations: 87.3 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.003867, allocations: 35.88 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.00389, allocations: 12 kB / 451.6 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.003974, allocations: 33.84 kB / 451.6 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.003997, allocations: 10.41 kB / 451.6 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.00404, allocations: 32.91 kB / 451.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.004188, allocations: 79.75 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.004199, allocations: 0 / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.0042, allocations: 0.875 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.004212, allocations: 0 / 451.7 MB, free: 2.785 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004768/0.004689, allocations: 337.3 kB / 452 MB, free: 2.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.004719, allocations: 8.031 kB / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.00485, allocations: 94.02 kB / 452.1 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.004945, allocations: 124.2 kB / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.004959, allocations: 5.062 kB / 452.3 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.00498, allocations: 8.375 kB / 452.3 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.005087, allocations: 75.92 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.005093, allocations: 192 / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.0051, allocations: 1.281 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.005107, allocations: 8.125 kB / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.005133, allocations: 8 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.005436, allocations: 190.4 kB / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/0.005507, allocations: 35.92 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.005523, allocations: 12.8 kB / 452.6 MB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.005541, allocations: 4 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.00572, allocations: 72.11 kB / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.005721, allocations: 5.094 kB / 452.7 MB, free: 1.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001381/0.005859, allocations: 77.67 kB / 452.8 MB, free: 1.629 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.005888, allocations: 51.41 kB / 452.8 MB, free: 1.566 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.005957, allocations: 119.3 kB / 452.9 MB, free: 1.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.005976, allocations: 37.02 kB / 453 MB, free: 1.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.00602, allocations: 96.06 kB / 453.1 MB, free: 1.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.006041, allocations: 19.84 kB / 453.1 MB, free: 1.281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.006097, allocations: 37.67 kB / 453.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.006182, allocations: 318.8 kB / 453.4 MB, free: 0.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.006239, allocations: 49.69 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.006313, allocations: 102.8 kB / 453.6 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.006415, allocations: 112.9 kB / 453.7 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006418, allocations: 0 / 453.7 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001851/0.006603, allocations: 173.6 kB / 453.8 MB, free: 428 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.006641, allocations: 42.19 kB / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006645, allocations: 0 / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.006658, allocations: 4.688 kB / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.006738, allocations: 20.55 kB / 453.9 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.006742, allocations: 4 kB / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.006843, allocations: 33.12 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.006861, allocations: 11.98 kB / 454 MB, free: 308 kB / 426.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 7.02e-05/0.006931, allocations: 121.4 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.006944, allocations: 7.938 kB / 454.1 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.007051, allocations: 70.03 kB / 454.2 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007053, allocations: 1.719 kB / 454.2 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.007055, allocations: 5.766 kB / 454.2 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.007058, allocations: 0 / 454.2 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.007227, allocations: 210.8 kB / 454.4 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007228, allocations: 0.9062 kB / 454.4 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.007264, allocations: 11.92 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.007273, allocations: 8.953 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007275, allocations: 0 / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.007281, allocations: 7.938 kB / 454.4 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007283, allocations: 5.312 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007284, allocations: 0 / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.374e-05/0.007378, allocations: 159.4 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.00739, allocations: 0 / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.007447, allocations: 4.656 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.007477, allocations: 13.2 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.007482, allocations: 0 / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.04e-05/0.007502, allocations: 19.8 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007503, allocations: 0 / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.007715, allocations: 25.06 kB / 454.6 MB, free: 15.59 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.0001034/0.007818, allocations: 90.88 kB / 454.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.00799, allocations: 154.6 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.007997, allocations: 4 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.008035, allocations: 22.34 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.008234, allocations: 101.1 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.008994, allocations: 186.4 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.00903, allocations: 57.17 kB / 455.2 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.65e-05/0.009056, allocations: 7.984 kB / 455.2 MB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.00914, allocations: 71.3 kB / 455.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.009141, allocations: 0 / 455.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of Templates: time 0.003669/0.01281, allocations: 1.66 MB / 457 MB, free: 13.29 MB / 442.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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7015301398932934]