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.0009672/0.0009672, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001059/0.001059, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9625/0.9625, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7651/0.7651, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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 2.124e-06/2.124e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.354e-05, allocations: 5.703 kB / 0.5204 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001828/0.001852, allocations: 0.7318 MB / 0.5211 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.003404, allocations: 1.129 MB / 0.5222 GB, free: 332 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.003463, allocations: 0 / 0.5222 GB, free: 332 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.0035, allocations: 3.938 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.026e-05/0.00359, allocations: 12.88 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.003932, allocations: 55.69 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.004058, allocations: 76.39 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004167, allocations: 20.72 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.004267, allocations: 39.89 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.004352, allocations: 29.28 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.004373, allocations: 4 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.355e-05/0.004437, allocations: 16 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.004461, allocations: 15.97 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.0045, allocations: 25.73 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.004661, allocations: 67.72 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004664, allocations: 0 / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004664, allocations: 0 / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.004669, allocations: 0 / 0.5225 GB, free: 15.96 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.0004844/0.005153, allocations: 398.1 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.005193, allocations: 8.031 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.005254, allocations: 16.89 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.005357, allocations: 116.5 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.005373, allocations: 9.062 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.005388, allocations: 4.375 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.005555, allocations: 68.34 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.005565, allocations: 192 / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.005576, allocations: 384 / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.005587, allocations: 9.469 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.005627, allocations: 15.92 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.006125, allocations: 305.3 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.006233, allocations: 43.05 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.006263, allocations: 11.69 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.006281, allocations: 3.938 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.002e-05/0.006371, allocations: 75.48 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.006373, allocations: 0 / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000213/0.006586, allocations: 85.84 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.006629, allocations: 59.41 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.006727, allocations: 173.9 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.006744, allocations: 29.69 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.0068, allocations: 143.3 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.006821, allocations: 16.47 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.006873, allocations: 35.36 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.007009, allocations: 0.4893 MB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.007042, allocations: 11.94 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-05/0.007093, allocations: 75.86 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.139e-05/0.007175, allocations: 92.11 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007177, allocations: 0.9375 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001171/0.007294, allocations: 108.6 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.007306, allocations: 8 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.00731, allocations: 80 / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007323, allocations: 4 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.007409, allocations: 15.98 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.007416, allocations: 11.92 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.00745, allocations: 11.02 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.007459, allocations: 7.938 kB / 0.5249 GB, free: 13.3 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 6.331e-05/0.007523, allocations: 164.5 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.007533, allocations: 11.89 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.007555, allocations: 8.438 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.007558, allocations: 4 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.007561, allocations: 0 / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007565, allocations: 3.984 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.007778, allocations: 342.8 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007779, allocations: 0 / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.007802, allocations: 11.98 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007804, allocations: 0.5 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.00781, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007811, allocations: 2.531 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007812, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.007919, allocations: 227.8 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.007926, allocations: 7.953 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.007936, allocations: 0 / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.007968, allocations: 4 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.008003, allocations: 14.42 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.008008, allocations: 0 / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.008053, allocations: 135.2 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008053, allocations: 0 / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001629/0.008216, allocations: 12 kB / 0.5258 GB, free: 12.3 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 9.775e-05/0.008313, allocations: 108.9 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.008421, allocations: 56.62 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.008423, allocations: 4 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.008455, allocations: 20.7 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.008638, allocations: 25.97 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.008916, allocations: 164.5 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.008952, allocations: 61.78 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.008975, allocations: 7.984 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.009006, allocations: 12.5 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.009007, allocations: 3.938 kB / 0.5262 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.002635/0.01164, allocations: 1.091 MB / 0.5273 GB, free: 10.79 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5520557877607644]