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.00113/0.00113, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001716/0.002846, allocations: 435.8 kB / 10.33 MB, free: 368 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.001101/0.001101, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.002192, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09033/1.097, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7856/0.7856, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3237/1.109, allocations: 49.04 MB / 447.6 MB, free: 6.676 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 1.472e-06/1.472e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.402 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.378e-05, allocations: 6.109 kB / 448.9 MB, free: 5.398 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001669/0.001693, allocations: 0.7858 MB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003038, allocations: 1.124 MB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.003076, allocations: 1.422 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.0031, allocations: 7.922 kB / 450.8 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.003145, allocations: 17.39 kB / 450.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.003348, allocations: 59.69 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.847e-05/0.003447, allocations: 65.11 kB / 450.9 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.928e-05/0.003526, allocations: 16.72 kB / 450.9 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.003618, allocations: 50.77 kB / 451 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.003668, allocations: 27.45 kB / 451 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.003682, allocations: 9.406 kB / 451 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.003751, allocations: 16.75 kB / 451.1 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.00377, allocations: 13.14 kB / 451.1 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.003793, allocations: 12 kB / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.003902, allocations: 59.7 kB / 451.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.288e-05/0.003924, allocations: 3.984 kB / 451.1 MB, free: 3.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003926, allocations: 1.594 kB / 451.1 MB, free: 3.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.003943, allocations: 0 / 451.1 MB, free: 3.199 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.0004001/0.004343, allocations: 290.3 kB / 451.4 MB, free: 2.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.004372, allocations: 8.031 kB / 451.4 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.004399, allocations: 13.84 kB / 451.4 MB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.829e-05/0.004477, allocations: 113.7 kB / 451.6 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.004488, allocations: 6.25 kB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.004499, allocations: 8.359 kB / 451.6 MB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/0.004598, allocations: 66.88 kB / 451.6 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004605, allocations: 0.7969 kB / 451.6 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.004614, allocations: 4.375 kB / 451.6 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004619, allocations: 5 kB / 451.6 MB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.004641, allocations: 12 kB / 451.7 MB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.004935, allocations: 199.1 kB / 451.9 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.005002, allocations: 22.58 kB / 451.9 MB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.00502, allocations: 17.67 kB / 451.9 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.00504, allocations: 1.062 kB / 451.9 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.832e-05/0.005119, allocations: 59.31 kB / 451.9 MB, free: 2.305 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.00512, allocations: 0 / 451.9 MB, free: 2.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001147/0.005235, allocations: 66.84 kB / 452 MB, free: 2.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.00527, allocations: 55.41 kB / 452.1 MB, free: 2.168 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.245e-05/0.005333, allocations: 124 kB / 452.2 MB, free: 2.035 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.005345, allocations: 29.7 kB / 452.2 MB, free: 2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.00538, allocations: 92.08 kB / 452.3 MB, free: 1.906 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.005394, allocations: 11.91 kB / 452.3 MB, free: 1.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.005428, allocations: 30.34 kB / 452.3 MB, free: 1.859 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.005498, allocations: 324 kB / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.005513, allocations: 7.938 kB / 452.7 MB, free: 1.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.005549, allocations: 58 kB / 452.7 MB, free: 1.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.005609, allocations: 72.14 kB / 452.8 MB, free: 1.359 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005611, allocations: 0.7188 kB / 452.8 MB, free: 1.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.18e-05/0.005693, allocations: 82.98 kB / 452.9 MB, free: 1.273 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005705, allocations: 13.44 kB / 452.9 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.00571, allocations: 3.984 kB / 452.9 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.005722, allocations: 8 kB / 452.9 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.005813, allocations: 15.98 kB / 452.9 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.005817, allocations: 8.672 kB / 452.9 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.005848, allocations: 9.031 kB / 452.9 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.005856, allocations: 4 kB / 452.9 MB, free: 1.215 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.744e-05/0.005914, allocations: 118.4 kB / 453.1 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.005923, allocations: 11.92 kB / 453.1 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.005943, allocations: 11.75 kB / 453.1 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005945, allocations: 4.562 kB / 453.1 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.005947, allocations: 0 / 453.1 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.00595, allocations: 0 / 453.1 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.006121, allocations: 222.7 kB / 453.3 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.006124, allocations: 3.938 kB / 453.3 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.006151, allocations: 4 kB / 453.3 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.006157, allocations: 3.953 kB / 453.3 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.00616, allocations: 5.172 kB / 453.3 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.006164, allocations: 0.5625 kB / 453.3 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006166, allocations: 5.203 kB / 453.3 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006167, allocations: 0 / 453.3 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.422e-05/0.006241, allocations: 155.4 kB / 453.5 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.006253, allocations: 4 kB / 453.5 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.006284, allocations: 4.734 kB / 453.5 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.006309, allocations: 8.484 kB / 453.5 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.006312, allocations: 0 / 453.5 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.633e-05/0.006329, allocations: 24.55 kB / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006329, allocations: 0 / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.006462, allocations: 16.56 kB / 453.5 MB, free: 0.582 MB / 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.0001121/0.006575, allocations: 93.58 kB / 453.6 MB, free: 496 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.692e-05/0.006652, allocations: 38.34 kB / 453.7 MB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.006663, allocations: 4 kB / 453.7 MB, free: 452 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.006686, allocations: 20.78 kB / 453.7 MB, free: 428 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.006833, allocations: 25.59 kB / 453.7 MB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.007182, allocations: 162.2 kB / 453.9 MB, free: 216 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.074e-05/0.007212, allocations: 55.36 kB / 453.9 MB, free: 140 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.00724, allocations: 12.84 kB / 453.9 MB, free: 128 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.007291, allocations: 59.38 kB / 454 MB, free: 68 kB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007291, allocations: 1.469 kB / 454 MB, free: 68 kB / 426.7 MB Notification: Performance of Templates: time 0.002603/0.009894, allocations: 1.094 MB / 455.1 MB, free: 15.08 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.653092716820538]