Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006416/0.0006416, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009592/0.001601, 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.0006898/0.0006898, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009244/0.001614, 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 0.9463/0.9463, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09154/1.038, allocations: 53.68 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7966/0.7966, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2892/1.086, allocations: 49.13 MB / 448.6 MB, free: 5.938 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-master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.004e-05, allocations: 2.312 kB / 449.9 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002033/0.002053, allocations: 0.7899 MB / 450.7 MB, free: 3.879 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003385, allocations: 1.127 MB / 451.9 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.00343, allocations: 0 / 451.9 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.003455, allocations: 6 kB / 451.9 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.003505, allocations: 19.64 kB / 451.9 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.003701, allocations: 52.47 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.003824, allocations: 80.73 kB / 452 MB, free: 2.605 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.003909, allocations: 14.94 kB / 452 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.004017, allocations: 50.52 kB / 452.1 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.004076, allocations: 26.48 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.004093, allocations: 4 kB / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.049e-05/0.004163, allocations: 20.75 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.004188, allocations: 15.94 kB / 452.1 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.004218, allocations: 13.86 kB / 452.2 MB, free: 2.473 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.004326, allocations: 53.05 kB / 452.2 MB, free: 2.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.004336, allocations: 3.938 kB / 452.2 MB, free: 2.418 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004337, allocations: 0 / 452.2 MB, free: 2.418 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.00435, allocations: 0 / 452.2 MB, free: 2.418 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.0003498/0.0047, allocations: 295.1 kB / 452.5 MB, free: 2.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.004726, allocations: 9.219 kB / 452.5 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.004755, allocations: 8.922 kB / 452.5 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.004834, allocations: 113.8 kB / 452.6 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.004842, allocations: 5.156 kB / 452.6 MB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.004853, allocations: 8.375 kB / 452.6 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.465e-05/0.004948, allocations: 71.48 kB / 452.7 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.004955, allocations: 192 / 452.7 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.004962, allocations: 6.062 kB / 452.7 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.004969, allocations: 4.125 kB / 452.7 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.682e-05/0.004986, allocations: 8 kB / 452.7 MB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.005259, allocations: 185.1 kB / 452.9 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.005327, allocations: 38.55 kB / 453 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.005341, allocations: 10.14 kB / 453 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.005356, allocations: 0 / 453 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.918e-05/0.005426, allocations: 63.41 kB / 453 MB, free: 1.523 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.005427, allocations: 1.531 kB / 453 MB, free: 1.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001083/0.005535, allocations: 73.02 kB / 453.1 MB, free: 1.449 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.005566, allocations: 51.41 kB / 453.1 MB, free: 1.387 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.005625, allocations: 120.3 kB / 453.3 MB, free: 1.258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.005639, allocations: 29.7 kB / 453.3 MB, free: 1.223 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.005672, allocations: 97.31 kB / 453.4 MB, free: 1.125 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.005687, allocations: 15.89 kB / 453.4 MB, free: 1.109 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.005718, allocations: 29.69 kB / 453.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.005784, allocations: 322.8 kB / 453.8 MB, free: 0.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.005799, allocations: 8.625 kB / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.005836, allocations: 61.7 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.647e-05/0.005893, allocations: 65.92 kB / 453.9 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.005895, allocations: 0 / 453.9 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.226e-05/0.005977, allocations: 87.25 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005988, allocations: 8.875 kB / 454 MB, free: 492 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.005992, allocations: 0 / 454 MB, free: 492 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.006004, allocations: 4 kB / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.006082, allocations: 20.64 kB / 454 MB, free: 468 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.006085, allocations: 4.562 kB / 454 MB, free: 464 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.006117, allocations: 15.92 kB / 454 MB, free: 448 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.006125, allocations: 4.625 kB / 454 MB, free: 444 kB / 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.273e-05/0.006178, allocations: 119.7 kB / 454.1 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.006186, allocations: 8.562 kB / 454.2 MB, free: 308 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.006205, allocations: 8.422 kB / 454.2 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.006207, allocations: 0.625 kB / 454.2 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.006208, allocations: 0.8438 kB / 454.2 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.00621, allocations: 0 / 454.2 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.006371, allocations: 219 kB / 454.4 MB, free: 56 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.006373, allocations: 8.484 kB / 454.4 MB, free: 48 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.006395, allocations: 5.688 kB / 454.4 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.006402, allocations: 7.953 kB / 454.4 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.006405, allocations: 4 kB / 454.4 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.00641, allocations: 4 kB / 454.4 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006411, allocations: 0.9062 kB / 454.4 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006412, allocations: 4.078 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.316e-05/0.006495, allocations: 155.4 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-06/0.006503, allocations: 0.6562 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.006537, allocations: 8.609 kB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.00656, allocations: 7.938 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.006564, allocations: 4.969 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.601e-05/0.00658, allocations: 24.11 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00658, allocations: 0 / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.006712, allocations: 17.16 kB / 454.6 MB, free: 15.8 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 (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 9.705e-05/0.006809, allocations: 92.27 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.006885, allocations: 45.73 kB / 454.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.00689, allocations: 4 kB / 454.8 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.006918, allocations: 21.59 kB / 454.8 MB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.007071, allocations: 98 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.007411, allocations: 166.1 kB / 455 MB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.007442, allocations: 59.97 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.495e-05/0.007467, allocations: 15.03 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.007514, allocations: 56.12 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007515, allocations: 0 / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of Templates: time 0.002485/0.01, allocations: 1.066 MB / 456.2 MB, free: 14.23 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.548056044615805]