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.0007043/0.0007043, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009138/0.001618, 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.0008349/0.0008349, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.001773, 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08918/1.127, 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.8337/0.8337, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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.2917/1.125, allocations: 49.03 MB / 447.6 MB, free: 6.703 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.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 3.076e-06/3.076e-06, allocations: 0 / 448.9 MB, free: 5.426 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.011e-05/4.318e-05, allocations: 4.703 kB / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002327/0.00237, allocations: 0.7844 MB / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.004216, allocations: 1.131 MB / 450.8 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.004261, allocations: 0.9375 kB / 450.8 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.004288, allocations: 3.938 kB / 450.8 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.004343, allocations: 13.84 kB / 450.8 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.004578, allocations: 58.52 kB / 450.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.004714, allocations: 76.53 kB / 450.9 MB, free: 3.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.004809, allocations: 12.84 kB / 450.9 MB, free: 3.395 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.004929, allocations: 55 kB / 451 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.00499, allocations: 23.28 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.005007, allocations: 4 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.005085, allocations: 17.7 kB / 451 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.005109, allocations: 11.03 kB / 451.1 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.005138, allocations: 19.94 kB / 451.1 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.005281, allocations: 55.75 kB / 451.1 MB, free: 3.223 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.585e-05/0.005297, allocations: 0 / 451.1 MB, free: 3.223 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005298, allocations: 0.5625 kB / 451.1 MB, free: 3.223 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.005317, allocations: 1.531 kB / 451.1 MB, free: 3.223 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.0004689/0.005786, allocations: 290.4 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.005823, allocations: 12.03 kB / 451.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.005861, allocations: 4.938 kB / 451.4 MB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.005974, allocations: 120.2 kB / 451.6 MB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.005991, allocations: 8.375 kB / 451.6 MB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.006005, allocations: 8.312 kB / 451.6 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.006152, allocations: 66.88 kB / 451.6 MB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.00616, allocations: 192 / 451.6 MB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.006169, allocations: 384 / 451.6 MB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.006179, allocations: 9.094 kB / 451.6 MB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.006213, allocations: 15.92 kB / 451.7 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.00661, allocations: 193.7 kB / 451.8 MB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.207e-05/0.006692, allocations: 30.56 kB / 451.9 MB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.006709, allocations: 8.859 kB / 451.9 MB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.006734, allocations: 5.609 kB / 451.9 MB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.29e-05/0.006827, allocations: 59.47 kB / 451.9 MB, free: 2.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.006829, allocations: 0.625 kB / 451.9 MB, free: 2.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001276/0.006957, allocations: 65.92 kB / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.006997, allocations: 54 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.007069, allocations: 133.8 kB / 452.2 MB, free: 2.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007083, allocations: 25.7 kB / 452.2 MB, free: 2.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.007129, allocations: 88.09 kB / 452.3 MB, free: 1.926 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.007151, allocations: 19.88 kB / 452.3 MB, free: 1.906 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.007199, allocations: 29.69 kB / 452.4 MB, free: 1.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.007292, allocations: 318.8 kB / 452.7 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.007309, allocations: 9.141 kB / 452.7 MB, free: 1.543 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.007345, allocations: 46.09 kB / 452.7 MB, free: 1.477 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.289e-05/0.007408, allocations: 84.06 kB / 452.8 MB, free: 1.375 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.00741, allocations: 0.9062 kB / 452.8 MB, free: 1.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.704e-05/0.007497, allocations: 74.86 kB / 452.9 MB, free: 1.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.007511, allocations: 17.19 kB / 452.9 MB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.007517, allocations: 7.984 kB / 452.9 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.007527, allocations: 4 kB / 452.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.007625, allocations: 29.23 kB / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.007629, allocations: 0.5312 kB / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.007661, allocations: 9.062 kB / 452.9 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.007671, allocations: 4 kB / 452.9 MB, free: 1.23 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 6.119e-05/0.007732, allocations: 122.8 kB / 453.1 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-06/0.007742, allocations: 7.938 kB / 453.1 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.007765, allocations: 12.44 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.007768, allocations: 1.062 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.00777, allocations: 0 / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007774, allocations: 0 / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.007969, allocations: 224.1 kB / 453.3 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.007973, allocations: 3.938 kB / 453.3 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.008004, allocations: 4 kB / 453.3 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.008013, allocations: 13.94 kB / 453.3 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.008015, allocations: 0 / 453.3 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.008019, allocations: 1.438 kB / 453.3 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008021, allocations: 0 / 453.3 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008022, allocations: 0 / 453.3 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.337e-05/0.008105, allocations: 155.4 kB / 453.5 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.008115, allocations: 8.844 kB / 453.5 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.008146, allocations: 0 / 453.5 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.008171, allocations: 7.984 kB / 453.5 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.008175, allocations: 0.7812 kB / 453.5 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.699e-05/0.008192, allocations: 16.84 kB / 453.5 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008192, allocations: 0.875 kB / 453.5 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.008337, allocations: 23.94 kB / 453.5 MB, free: 0.5938 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.0001066/0.008444, allocations: 77.48 kB / 453.6 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.008531, allocations: 52.52 kB / 453.7 MB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.008535, allocations: 0.625 kB / 453.7 MB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.008558, allocations: 24.73 kB / 453.7 MB, free: 444 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.008694, allocations: 25.17 kB / 453.7 MB, free: 420 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.009059, allocations: 158 kB / 453.9 MB, free: 236 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.009091, allocations: 60.06 kB / 453.9 MB, free: 156 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.559e-05/0.009117, allocations: 8.391 kB / 453.9 MB, free: 148 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.009166, allocations: 64.08 kB / 454 MB, free: 84 kB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.009167, allocations: 0 / 454 MB, free: 84 kB / 426.7 MB Notification: Performance of Templates: time 0.002602/0.01177, allocations: 1.091 MB / 455.1 MB, free: 15.07 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.7360522635281086]