Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.00101/0.00101, allocations: 80.94 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.001241/0.001241, allocations: 177.3 kB / 23.35 MB, free: 1.137 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.8723/0.8723, 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.397e-05, allocations: 6.25 kB / 480.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001297/0.001311, allocations: 0.7814 MB / 480.8 MB, free: 6.109 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.00234, allocations: 1.133 MB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.002382, allocations: 0.7656 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.002409, allocations: 3.938 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.002481, allocations: 16.08 kB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.002711, allocations: 59.69 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.002804, allocations: 69.67 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.002883, allocations: 17.48 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.002964, allocations: 43.12 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.003009, allocations: 24.78 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.003023, allocations: 12.89 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.003081, allocations: 12 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.003099, allocations: 15.98 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.003122, allocations: 24.53 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.597e-05/0.003218, allocations: 63.73 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.00322, allocations: 0.625 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.00322, allocations: 0.625 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.003223, allocations: 0 / 482.3 MB, free: 4.633 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.0003021/0.003525, allocations: 277.1 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.003554, allocations: 12.66 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.003579, allocations: 4.938 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.816e-05/0.003657, allocations: 114.2 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003667, allocations: 4.875 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.003678, allocations: 12.36 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.652e-05/0.003765, allocations: 67.69 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003772, allocations: 1.969 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.003777, allocations: 384 / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.003784, allocations: 4.125 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.003804, allocations: 18.64 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.004092, allocations: 196.8 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.004152, allocations: 31.56 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.004167, allocations: 12.86 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.004179, allocations: 0.6875 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.004238, allocations: 59.45 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.004239, allocations: 0.9062 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001034/0.004343, allocations: 65.69 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.004372, allocations: 56.53 kB / 483.2 MB, free: 3.613 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.004431, allocations: 122.3 kB / 483.4 MB, free: 3.484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.004445, allocations: 33.7 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.004479, allocations: 92.58 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.004494, allocations: 15.89 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.004528, allocations: 34.69 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.004598, allocations: 322.8 kB / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.004613, allocations: 5.156 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.004646, allocations: 50 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.086e-05/0.004707, allocations: 75.78 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004709, allocations: 0.8438 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.397e-05/0.004793, allocations: 83.58 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.004805, allocations: 11.94 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004809, allocations: 0 / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.004821, allocations: 4.625 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.004892, allocations: 16.58 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.004896, allocations: 4 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.004929, allocations: 17.36 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.004938, allocations: 4 kB / 484.1 MB, free: 2.664 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 5.459e-05/0.004993, allocations: 121.7 kB / 484.2 MB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.005001, allocations: 8.625 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.00502, allocations: 12.42 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005021, allocations: 1.031 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.005024, allocations: 4 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005026, allocations: 0.5625 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.005181, allocations: 215 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005183, allocations: 4.969 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.005203, allocations: 4 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.005205, allocations: 4.531 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.00521, allocations: 4 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.005211, allocations: 0.9375 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005212, allocations: 0 / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.798e-05/0.00529, allocations: 148.8 kB / 484.6 MB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.005299, allocations: 17.19 kB / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.005307, allocations: 0 / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-05/0.005341, allocations: 14.11 kB / 484.7 MB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.005368, allocations: 4 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.005373, allocations: 4 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.825e-05/0.005391, allocations: 20.83 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005391, allocations: 0 / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.00553, allocations: 16 kB / 484.7 MB, free: 2.027 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.026e-05/0.005621, allocations: 89.72 kB / 484.8 MB, free: 1.934 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.312e-05/0.005694, allocations: 43.23 kB / 484.8 MB, free: 1.891 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.005697, allocations: 4 kB / 484.8 MB, free: 1.887 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.005724, allocations: 28.78 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.00585, allocations: 7.938 kB / 484.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.006064, allocations: 155.7 kB / 485 MB, free: 1.668 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.043e-05/0.006094, allocations: 60.09 kB / 485.1 MB, free: 1.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.149e-05/0.006115, allocations: 5.25 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.006162, allocations: 67.3 kB / 485.2 MB, free: 1.52 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.006163, allocations: 0 / 485.2 MB, free: 1.52 MB / 442.7 MB Notification: Performance of Templates: time 0.00241/0.008573, allocations: 1.06 MB / 486.2 MB, free: 0.5742 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.676952427253127]