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.001516/0.001516, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001827/0.001827, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9563/0.9563, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.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.8011/0.8011, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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. " [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.565e-06/2.565e-06, allocations: 0 / 480 MB, free: 6.879 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.93e-05, allocations: 2.312 kB / 480 MB, free: 6.875 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002336/0.002365, allocations: 0.7395 MB / 480.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.004046, allocations: 1.132 MB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.004102, allocations: 1.281 kB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.004137, allocations: 3.938 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.004237, allocations: 16.3 kB / 481.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.004621, allocations: 60.22 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.004758, allocations: 70.42 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.00486, allocations: 21.8 kB / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.004974, allocations: 34.92 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.005036, allocations: 33.42 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.005056, allocations: 5.062 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.005118, allocations: 16 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.005143, allocations: 11.98 kB / 482.2 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.00518, allocations: 28.69 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.005322, allocations: 59.8 kB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005326, allocations: 0.9062 kB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005327, allocations: 0 / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.00533, allocations: 0 / 482.2 MB, free: 4.699 MB / 442.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.0005195/0.00585, allocations: 276.5 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005889, allocations: 9.188 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.005929, allocations: 12.94 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.006031, allocations: 122.6 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.006044, allocations: 6.312 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.006061, allocations: 4.375 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.006197, allocations: 62.94 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006206, allocations: 192 / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.006214, allocations: 4.312 kB / 482.7 MB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.006222, allocations: 4.938 kB / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.006252, allocations: 12.55 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.006655, allocations: 193 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/0.006748, allocations: 27.27 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.00677, allocations: 14.23 kB / 483 MB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.00679, allocations: 4.844 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.243e-05/0.006883, allocations: 55.33 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.006884, allocations: 0.5312 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001477/0.007032, allocations: 70.56 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.007076, allocations: 59.41 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.007162, allocations: 122.7 kB / 483.3 MB, free: 3.547 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.00718, allocations: 30.48 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.007226, allocations: 92.03 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.007246, allocations: 16.73 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.007301, allocations: 29.69 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.007396, allocations: 323.4 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.007423, allocations: 4 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.007475, allocations: 50.62 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.007575, allocations: 80.34 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.007578, allocations: 0.5938 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001404/0.007718, allocations: 84.14 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.007734, allocations: 7.938 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.00774, allocations: 4 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.007758, allocations: 4 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.007875, allocations: 20.48 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.00788, allocations: 0 / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.007932, allocations: 8.984 kB / 484 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.007944, allocations: 4 kB / 484 MB, free: 2.738 MB / 442.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.799e-05/0.008032, allocations: 125.8 kB / 484.1 MB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.008048, allocations: 13.67 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.008077, allocations: 12.44 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.00808, allocations: 0 / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.008082, allocations: 0 / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008085, allocations: 3.938 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.008341, allocations: 219.5 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.008345, allocations: 7.875 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.008381, allocations: 5.031 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008384, allocations: 0 / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.00839, allocations: 0 / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008391, allocations: 0.7812 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.008395, allocations: 4.391 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.008511, allocations: 157.4 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.008522, allocations: 7.891 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.008534, allocations: 4 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.008598, allocations: 3.984 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.00863, allocations: 4 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.008634, allocations: 0.75 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.808e-05/0.008663, allocations: 24.78 kB / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008663, allocations: 0.7188 kB / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.008923, allocations: 16 kB / 484.6 MB, free: 2.098 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 0.0001386/0.009061, allocations: 93.45 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.009175, allocations: 41.73 kB / 484.8 MB, free: 1.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.009182, allocations: 9.094 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.009219, allocations: 20.78 kB / 484.8 MB, free: 1.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.009431, allocations: 16.81 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.009761, allocations: 152.3 kB / 485 MB, free: 1.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.094e-05/0.009812, allocations: 63.34 kB / 485 MB, free: 1.656 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.009844, allocations: 4.625 kB / 485 MB, free: 1.652 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.009912, allocations: 59.95 kB / 485.1 MB, free: 1.594 MB / 442.7 MB Notification: Performance of SimCode: time 1.051e-06/0.009913, allocations: 0 / 485.1 MB, free: 1.594 MB / 442.7 MB Notification: Performance of Templates: time 0.004006/0.01392, allocations: 1.056 MB / 486.1 MB, free: 0.6445 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.4736478002741933]