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.0009295/0.0009295, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001538/0.001538, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9337/0.9337, allocations: 177.1 MB / 204.5 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.7797/0.7797, allocations: 154.6 MB / 415.6 MB, free: 0.5508 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 3.397e-06/3.397e-06, allocations: 4 kB / 0.5215 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.167e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001538/0.001569, allocations: 0.7261 MB / 0.5223 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.002685, allocations: 1.125 MB / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.00273, allocations: 0 / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.002757, allocations: 3.938 kB / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.002831, allocations: 7.875 kB / 0.5234 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.003119, allocations: 65.34 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.003218, allocations: 71.77 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.003316, allocations: 20.09 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.0034, allocations: 39.97 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.003446, allocations: 28.64 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.003463, allocations: 8 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.928e-05/0.003513, allocations: 13.25 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.003535, allocations: 19.91 kB / 0.5236 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.003558, allocations: 15.98 kB / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.003671, allocations: 68.98 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003673, allocations: 0 / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.003675, allocations: 0 / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003679, allocations: 2.25 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB 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.0003598/0.004039, allocations: 400.4 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.004072, allocations: 8.031 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.004105, allocations: 12.89 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.625e-05/0.004191, allocations: 120.5 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.004202, allocations: 384 / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004213, allocations: 10.12 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.004325, allocations: 74.81 kB / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.00433, allocations: 192 / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.004338, allocations: 4.359 kB / 0.5243 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004343, allocations: 4.688 kB / 0.5243 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.004361, allocations: 8 kB / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.004698, allocations: 281.2 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.813e-05/0.004776, allocations: 48.11 kB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.004793, allocations: 11.69 kB / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.00481, allocations: 4.812 kB / 0.5246 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.79e-05/0.004888, allocations: 69.09 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.00489, allocations: 1.031 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001555/0.005045, allocations: 77.67 kB / 0.5248 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.005082, allocations: 56.86 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.00517, allocations: 180.7 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.005185, allocations: 29.7 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.005246, allocations: 146.7 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.005264, allocations: 17.05 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.005303, allocations: 31.36 kB / 0.5252 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.005414, allocations: 0.4923 MB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.005433, allocations: 4.688 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.005479, allocations: 77.78 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.005549, allocations: 96.03 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005551, allocations: 0.5 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001101/0.005661, allocations: 100.8 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.005676, allocations: 13.66 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.005681, allocations: 320 / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.005689, allocations: 7.938 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.005767, allocations: 15.98 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.005771, allocations: 3.031 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.005803, allocations: 12 kB / 0.526 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.005813, allocations: 7.984 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB 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.121e-05/0.005885, allocations: 172.4 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.005896, allocations: 11.89 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.00592, allocations: 8.438 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005921, allocations: 0 / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.005924, allocations: 5.5 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.005927, allocations: 0 / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.006148, allocations: 313.9 kB / 0.5265 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.00615, allocations: 3.984 kB / 0.5265 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.006176, allocations: 8.5 kB / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006178, allocations: 0.9375 kB / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.006183, allocations: 0 / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006183, allocations: 0 / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006185, allocations: 3.062 kB / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.006292, allocations: 219.9 kB / 0.5267 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.006303, allocations: 7.953 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.006313, allocations: 3.938 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.327e-05/0.006347, allocations: 4 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.006372, allocations: 3.984 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.006379, allocations: 8 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.006417, allocations: 135.2 kB / 0.5269 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006417, allocations: 2.438 kB / 0.5269 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001608/0.006578, allocations: 16 kB / 0.5269 GB, free: 12.08 MB / 0.4948 GB 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.0001121/0.00669, allocations: 108.8 kB / 0.527 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.324e-05/0.006773, allocations: 44.84 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006774, allocations: 0 / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.006805, allocations: 27.61 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.006998, allocations: 17.95 kB / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.007282, allocations: 167.8 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.007314, allocations: 56.77 kB / 0.5273 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.00734, allocations: 7.984 kB / 0.5273 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.007396, allocations: 78.2 kB / 0.5274 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/0.007397, allocations: 1.281 kB / 0.5274 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.002786/0.01018, allocations: 1.138 MB / 0.5285 GB, free: 10.45 MB / 0.4948 GB " [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.513186897151172]