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.0009172/0.0009172, allocations: 93.06 kB / 19.65 MB, free: 280 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.001063/0.001063, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.054/1.054, 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.7977/0.7977, allocations: 154.6 MB / 414.5 MB, free: 0.6445 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.303e-06/1.303e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.42e-05, allocations: 7.688 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001854/0.001878, allocations: 0.7429 MB / 0.5211 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003251, allocations: 1.132 MB / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.003287, allocations: 0.9688 kB / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.003312, allocations: 3.938 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.003368, allocations: 16.36 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.003642, allocations: 52.42 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.003759, allocations: 75.77 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003868, allocations: 20.78 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.003946, allocations: 36.62 kB / 0.5224 GB, free: 136 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.004001, allocations: 31.89 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.004022, allocations: 5.094 kB / 0.5224 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.004082, allocations: 19.98 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.004104, allocations: 11.98 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.004141, allocations: 25.7 kB / 0.5224 GB, free: 44 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.004297, allocations: 59.95 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004298, allocations: 0 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004299, allocations: 0 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.004304, allocations: 3.938 kB / 0.5225 GB, free: 15.98 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.0004833/0.004787, allocations: 398.1 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.004829, allocations: 8.031 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.004881, allocations: 12.89 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.004989, allocations: 124.5 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.005006, allocations: 9.109 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.005026, allocations: 4.375 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.005188, allocations: 68.28 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.005199, allocations: 192 / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.005212, allocations: 4.375 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.005224, allocations: 8.125 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.005266, allocations: 13.28 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.005779, allocations: 303.7 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.005885, allocations: 45 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.005918, allocations: 15.67 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.005943, allocations: 3.938 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.524e-05/0.006038, allocations: 65.17 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.00604, allocations: 2.094 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002261/0.006266, allocations: 85.8 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.006311, allocations: 59.41 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006425, allocations: 173.9 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.006443, allocations: 29.7 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.006508, allocations: 139.4 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.006536, allocations: 24.33 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.006592, allocations: 35.36 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.006738, allocations: 497.1 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.006775, allocations: 11.98 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.006846, allocations: 76.78 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.00696, allocations: 91.84 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006962, allocations: 1.531 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001812/0.007144, allocations: 102.5 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.007161, allocations: 10.03 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.007171, allocations: 11.97 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.00719, allocations: 4.688 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.007308, allocations: 25.2 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.007318, allocations: 4 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.007372, allocations: 4 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.007384, allocations: 11.16 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 9.08e-05/0.007475, allocations: 168.5 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.007495, allocations: 11.89 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.007527, allocations: 12.42 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007529, allocations: 4 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.007533, allocations: 0 / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.007537, allocations: 0 / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.007849, allocations: 341.3 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.007851, allocations: 7.031 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.007883, allocations: 4 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.007885, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.007893, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007895, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.007897, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.008065, allocations: 227.9 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.008076, allocations: 3.953 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.008089, allocations: 1.5 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.008151, allocations: 7.984 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.008193, allocations: 11.94 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.0082, allocations: 0 / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.008255, allocations: 131.7 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008255, allocations: 0 / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002984/0.008553, allocations: 22.84 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 0.0001361/0.008689, allocations: 99.23 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.008832, allocations: 55.58 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.008834, allocations: 2.438 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.008881, allocations: 27.62 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.009172, allocations: 20.8 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.009526, allocations: 158.7 kB / 0.5261 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.009832, allocations: 60.78 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.009863, allocations: 4 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.0099, allocations: 16.5 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.0099, allocations: 4.969 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.003798/0.0137, allocations: 1.037 MB / 0.5272 GB, free: 10.86 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.8883663211017847]