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.0009436/0.0009436, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.00225, 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.0009687/0.0009687, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001965/0.002933, 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 1.001/1.001, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09268/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8201/0.8201, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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.2928/1.113, allocations: 49.04 MB / 447.8 MB, free: 6.586 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 1.513e-06/1.513e-06, allocations: 0 / 449.1 MB, free: 5.273 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.143e-05, allocations: 4.984 kB / 449.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001803/0.001824, allocations: 0.7799 MB / 449.9 MB, free: 4.535 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003054, allocations: 1.132 MB / 451.1 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.003093, allocations: 0 / 451.1 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.003118, allocations: 3.938 kB / 451.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.003169, allocations: 20.17 kB / 451.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.0034, allocations: 53.23 kB / 451.1 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.003522, allocations: 69.95 kB / 451.2 MB, free: 3.266 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.003609, allocations: 17.27 kB / 451.2 MB, free: 3.246 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.003714, allocations: 46.8 kB / 451.3 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.003772, allocations: 30.47 kB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.00379, allocations: 4.75 kB / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.003867, allocations: 20.75 kB / 451.3 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.00389, allocations: 12.5 kB / 451.3 MB, free: 3.145 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.003918, allocations: 18.41 kB / 451.4 MB, free: 3.129 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.004042, allocations: 47.78 kB / 451.4 MB, free: 3.082 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.004055, allocations: 0 / 451.4 MB, free: 3.082 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004056, allocations: 0 / 451.4 MB, free: 3.082 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.004069, allocations: 4.812 kB / 451.4 MB, free: 3.078 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.0004852/0.004554, allocations: 290.4 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.004591, allocations: 13.31 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.00463, allocations: 8.922 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.8e-05/0.004728, allocations: 117.7 kB / 451.8 MB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.00474, allocations: 5.062 kB / 451.8 MB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.004756, allocations: 8.375 kB / 451.8 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.004874, allocations: 71.88 kB / 451.9 MB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.004882, allocations: 4.172 kB / 451.9 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.004889, allocations: 1.281 kB / 451.9 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.004897, allocations: 8.125 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.004918, allocations: 4 kB / 451.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.00527, allocations: 194.4 kB / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.005348, allocations: 34.56 kB / 452.2 MB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.005368, allocations: 8.859 kB / 452.2 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.005385, allocations: 0 / 452.2 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.05e-05/0.005476, allocations: 68.94 kB / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.005477, allocations: 0 / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001318/0.005609, allocations: 61.94 kB / 452.3 MB, free: 2.105 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.005645, allocations: 52.09 kB / 452.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.005727, allocations: 125.3 kB / 452.5 MB, free: 1.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.005742, allocations: 30.8 kB / 452.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.005785, allocations: 96.06 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.005801, allocations: 7.906 kB / 452.6 MB, free: 1.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.005849, allocations: 38.31 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.005933, allocations: 318.8 kB / 452.9 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.005957, allocations: 15.25 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.444e-05/0.006001, allocations: 50.06 kB / 453 MB, free: 1.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.006081, allocations: 69.88 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006083, allocations: 0.9062 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001191/0.006202, allocations: 82.69 kB / 453.2 MB, free: 1.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.006218, allocations: 12.69 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006224, allocations: 3.984 kB / 453.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.00624, allocations: 7.875 kB / 453.2 MB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.006346, allocations: 20.67 kB / 453.2 MB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.00635, allocations: 0 / 453.2 MB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.006397, allocations: 16.55 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.006407, allocations: 4.562 kB / 453.2 MB, free: 1.09 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 7.126e-05/0.006479, allocations: 118.4 kB / 453.3 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.00649, allocations: 7.938 kB / 453.3 MB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.006517, allocations: 17.05 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006519, allocations: 0.9375 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.006522, allocations: 4 kB / 453.4 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006525, allocations: 0 / 453.4 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.006739, allocations: 216.4 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.006742, allocations: 3.938 kB / 453.6 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.006775, allocations: 7.984 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.006785, allocations: 7.953 kB / 453.6 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006788, allocations: 0.9062 kB / 453.6 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.006794, allocations: 4 kB / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006796, allocations: 1 kB / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.006797, allocations: 0 / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.006901, allocations: 159.4 kB / 453.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.006911, allocations: 1.312 kB / 453.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.006963, allocations: 4 kB / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.006992, allocations: 7.984 kB / 453.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.006997, allocations: 0.6562 kB / 453.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.157e-05/0.007019, allocations: 23.84 kB / 453.8 MB, free: 480 kB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007019, allocations: 5.219 kB / 453.8 MB, free: 476 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.007235, allocations: 19.94 kB / 453.8 MB, free: 456 kB / 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.0001237/0.007358, allocations: 85.45 kB / 453.9 MB, free: 364 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.684e-05/0.007455, allocations: 37.94 kB / 453.9 MB, free: 324 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.00746, allocations: 4 kB / 453.9 MB, free: 320 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.007498, allocations: 29.5 kB / 454 MB, free: 288 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.007706, allocations: 94.55 kB / 454.1 MB, free: 176 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.008152, allocations: 165.3 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.008189, allocations: 57.17 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.504e-05/0.008224, allocations: 11.84 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.008284, allocations: 59.38 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008284, allocations: 0.5625 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of Templates: time 0.003018/0.0113, allocations: 1.064 MB / 455.4 MB, free: 14.86 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.569235548377037]