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.0006692/0.0006692, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009605/0.00163, 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.0007023/0.0007023, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009718/0.001674, 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.012/1.012, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1494/1.162, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.8506/0.8506, allocations: 154.6 MB / 398.8 MB, free: 372 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.296/1.147, allocations: 49.04 MB / 447.8 MB, free: 6.574 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.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 2.736e-06/2.736e-06, allocations: 0.9844 kB / 449.1 MB, free: 5.262 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.765e-05, allocations: 7.016 kB / 449.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002578/0.002605, allocations: 0.7835 MB / 449.9 MB, free: 4.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004271, allocations: 1.13 MB / 451.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.004334, allocations: 0 / 451.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.004366, allocations: 5.906 kB / 451.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.004434, allocations: 16.52 kB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.004759, allocations: 51.7 kB / 451.1 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.004932, allocations: 72.66 kB / 451.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.005062, allocations: 19 kB / 451.2 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.005207, allocations: 43.25 kB / 451.3 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.005283, allocations: 30.58 kB / 451.3 MB, free: 3.164 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.005306, allocations: 4 kB / 451.3 MB, free: 3.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.005402, allocations: 21.3 kB / 451.3 MB, free: 3.141 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.005434, allocations: 14.41 kB / 451.3 MB, free: 3.129 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.005472, allocations: 17.36 kB / 451.4 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.005644, allocations: 53.17 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.005659, allocations: 0 / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.005661, allocations: 0 / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.005679, allocations: 0 / 451.4 MB, free: 3.062 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.0005749/0.006253, allocations: 295.1 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.0063, allocations: 8.031 kB / 451.7 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.006349, allocations: 12.23 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.006492, allocations: 117.8 kB / 451.8 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.006506, allocations: 384 / 451.8 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.006526, allocations: 12.31 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.006673, allocations: 66.92 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.006682, allocations: 192 / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.006693, allocations: 6.156 kB / 451.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006702, allocations: 4.125 kB / 451.9 MB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.006732, allocations: 8.906 kB / 451.9 MB, free: 2.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.007177, allocations: 190 kB / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.00728, allocations: 34.56 kB / 452.1 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.007303, allocations: 8.859 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.007326, allocations: 0 / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.007445, allocations: 72.34 kB / 452.2 MB, free: 2.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.007447, allocations: 0 / 452.2 MB, free: 2.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001784/0.007625, allocations: 59.19 kB / 452.3 MB, free: 2.098 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.007678, allocations: 51.41 kB / 452.3 MB, free: 2.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.007789, allocations: 126.6 kB / 452.5 MB, free: 1.898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.007813, allocations: 29.7 kB / 452.5 MB, free: 1.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.007871, allocations: 96.75 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.007893, allocations: 11.91 kB / 452.6 MB, free: 1.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.007947, allocations: 34.75 kB / 452.6 MB, free: 1.715 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.00806, allocations: 318.8 kB / 452.9 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.008088, allocations: 12.84 kB / 452.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.008143, allocations: 56.69 kB / 453 MB, free: 1.309 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.304e-05/0.008236, allocations: 65.12 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.008239, allocations: 0 / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001459/0.008385, allocations: 86.53 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.008403, allocations: 9.094 kB / 453.2 MB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.00841, allocations: 3.984 kB / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.008427, allocations: 4 kB / 453.2 MB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.008566, allocations: 20.7 kB / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.008576, allocations: 7.938 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.00864, allocations: 17.42 kB / 453.2 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.008656, allocations: 4 kB / 453.2 MB, free: 1.074 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 8.633e-05/0.008742, allocations: 118.4 kB / 453.3 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.008757, allocations: 9.438 kB / 453.3 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.008793, allocations: 12.42 kB / 453.4 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.008795, allocations: 0 / 453.4 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008797, allocations: 0 / 453.4 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.008806, allocations: 6.281 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.009069, allocations: 211.8 kB / 453.6 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.009072, allocations: 3.938 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.009115, allocations: 11.92 kB / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.009129, allocations: 12.56 kB / 453.6 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.009131, allocations: 0 / 453.6 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.00914, allocations: 4.562 kB / 453.6 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009142, allocations: 1.219 kB / 453.6 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.009146, allocations: 4 kB / 453.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.009273, allocations: 151.4 kB / 453.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.009285, allocations: 0 / 453.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.009353, allocations: 8.734 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.009388, allocations: 4.5 kB / 453.8 MB, free: 492 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.009396, allocations: 4 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.782e-05/0.009424, allocations: 21.52 kB / 453.8 MB, free: 464 kB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009424, allocations: 0 / 453.8 MB, free: 464 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.000185/0.009609, allocations: 20.56 kB / 453.8 MB, free: 444 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.0001367/0.009746, allocations: 85.59 kB / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.075e-05/0.009837, allocations: 42.28 kB / 453.9 MB, free: 308 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.009841, allocations: 0 / 453.9 MB, free: 308 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.009876, allocations: 30.55 kB / 454 MB, free: 276 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01007, allocations: 101 kB / 454.1 MB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.01054, allocations: 158.2 kB / 454.2 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/0.01058, allocations: 59.36 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.892e-05/0.01061, allocations: 12.84 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.01067, allocations: 59.31 kB / 454.3 MB, free: 15.82 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01067, allocations: 0.875 kB / 454.3 MB, free: 15.82 MB / 442.7 MB Notification: Performance of Templates: time 0.003136/0.01381, allocations: 1.064 MB / 455.4 MB, free: 14.88 MB / 442.7 MB " [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.7167149111628532]