Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0009408/0.0009408, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009469/0.0009469, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.014/1.014, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.8194/0.8194, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.158e-05, allocations: 2.312 kB / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002244/0.002276, allocations: 0.7466 MB / 480.8 MB, free: 6.203 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003462, allocations: 1.123 MB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.003507, allocations: 1.109 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.003549, allocations: 7.875 kB / 481.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.003636, allocations: 9.5 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.003976, allocations: 56.58 kB / 482 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.004096, allocations: 72.86 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.004183, allocations: 12.83 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.004285, allocations: 43.2 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.004335, allocations: 26.36 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004353, allocations: 9.688 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.359e-05/0.004417, allocations: 27.8 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.004439, allocations: 11.98 kB / 482.2 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.004462, allocations: 19.92 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.004582, allocations: 65.05 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.004586, allocations: 0 / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.004588, allocations: 0 / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004592, allocations: 0 / 482.2 MB, free: 4.738 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.000336/0.004928, allocations: 281.6 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.00496, allocations: 8.031 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.004985, allocations: 4.938 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.005069, allocations: 125.6 kB / 482.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.005077, allocations: 1 kB / 482.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.00509, allocations: 8.375 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.00519, allocations: 71.59 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.005196, allocations: 3.062 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.005202, allocations: 384 / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.005207, allocations: 4.125 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.005229, allocations: 15.92 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.005528, allocations: 180.2 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.005601, allocations: 30.58 kB / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.005618, allocations: 17.8 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.005637, allocations: 7.984 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.247e-05/0.005709, allocations: 63.97 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.00571, allocations: 1.094 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001133/0.005824, allocations: 53.69 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.005862, allocations: 59.34 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.00593, allocations: 127 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.005942, allocations: 33.64 kB / 483.3 MB, free: 3.547 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.005984, allocations: 92.7 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.006002, allocations: 24.45 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.00604, allocations: 29.69 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003379/0.006378, allocations: 319.5 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.006397, allocations: 7.984 kB / 483.8 MB, free: 3.066 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.006431, allocations: 50.62 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.362e-05/0.006495, allocations: 73.67 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006497, allocations: 0 / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.054e-05/0.006588, allocations: 78.36 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.006602, allocations: 8.938 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.006607, allocations: 4 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.006618, allocations: 0 / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.00671, allocations: 20.48 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.006714, allocations: 9.234 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.006749, allocations: 8 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.006758, allocations: 4 kB / 484 MB, free: 2.773 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 6.09e-05/0.006819, allocations: 117.2 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.00683, allocations: 13.14 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.006853, allocations: 12.44 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006855, allocations: 0 / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006857, allocations: 0 / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006859, allocations: 0.75 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.007049, allocations: 224.4 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.007052, allocations: 3.938 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.007077, allocations: 4 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007079, allocations: 0.5938 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.007085, allocations: 4 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.007087, allocations: 9.781 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.007089, allocations: 400 / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.521e-05/0.007164, allocations: 151.5 kB / 484.6 MB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.007172, allocations: 11.89 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.007181, allocations: 0 / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.007215, allocations: 8.578 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.007243, allocations: 8 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.007247, allocations: 5.391 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.562e-05/0.007262, allocations: 12.86 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007262, allocations: 0 / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.007409, allocations: 16.97 kB / 484.6 MB, free: 2.141 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.0001203/0.007529, allocations: 92.83 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.13e-05/0.00761, allocations: 38.81 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.007614, allocations: 4 kB / 484.8 MB, free: 2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.007642, allocations: 20.84 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.007846, allocations: 12.78 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.008181, allocations: 160 kB / 484.9 MB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.008225, allocations: 63.28 kB / 485 MB, free: 1.699 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.219e-05/0.008257, allocations: 4.719 kB / 485 MB, free: 1.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.008326, allocations: 63.95 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/0.008327, allocations: 0.5312 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of Templates: time 0.003103/0.01143, allocations: 1.042 MB / 486.1 MB, free: 0.668 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.522489994764328]