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.002192/0.002192, allocations: 89.48 kB / 19.44 MB, free: 332 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.002581/0.002581, allocations: 169.6 kB / 22.76 MB, free: 1.66 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.402/1.402, allocations: 154.6 MB / 414.1 MB, free: 0.6641 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 178] 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 2.214e-06/2.214e-06, allocations: 0 / 0.5196 GB, free: 1.426 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.774e-05, allocations: 3.094 kB / 0.5196 GB, free: 1.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001953/0.00199, allocations: 0.7268 MB / 0.5203 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.003611, allocations: 1.103 MB / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.003655, allocations: 0.7656 kB / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.003686, allocations: 7.875 kB / 0.5214 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.003764, allocations: 10.16 kB / 0.5214 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.00408, allocations: 56.78 kB / 0.5215 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.004221, allocations: 71.77 kB / 0.5216 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.004318, allocations: 12.17 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.004426, allocations: 44.88 kB / 0.5216 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.004488, allocations: 27.89 kB / 0.5216 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.004515, allocations: 8 kB / 0.5216 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.205e-05/0.004577, allocations: 12.62 kB / 0.5217 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.00461, allocations: 25.22 kB / 0.5217 GB, free: 15.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.004651, allocations: 15.92 kB / 0.5217 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.004835, allocations: 91.67 kB / 0.5218 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004838, allocations: 0 / 0.5218 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004838, allocations: 0.625 kB / 0.5218 GB, free: 15.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004843, allocations: 0 / 0.5218 GB, free: 15.23 MB / 458.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.0006158/0.005459, allocations: 405.5 kB / 0.5222 GB, free: 14.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.005495, allocations: 8.031 kB / 0.5222 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.005553, allocations: 12.89 kB / 0.5222 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.005693, allocations: 121.1 kB / 0.5223 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.005712, allocations: 8.375 kB / 0.5223 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.005736, allocations: 5.781 kB / 0.5223 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.005912, allocations: 62.17 kB / 0.5224 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005921, allocations: 4.125 kB / 0.5224 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005931, allocations: 1.125 kB / 0.5224 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.005938, allocations: 4.125 kB / 0.5224 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.006062, allocations: 36.97 kB / 0.5224 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.006684, allocations: 312.7 kB / 0.5227 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.006859, allocations: 55.05 kB / 0.5228 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.006934, allocations: 30.3 kB / 0.5228 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.006962, allocations: 7.922 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.00713, allocations: 85.03 kB / 0.5229 GB, free: 13.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.007131, allocations: 0 / 0.5229 GB, free: 13.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003628/0.007494, allocations: 115.2 kB / 0.523 GB, free: 13.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.007543, allocations: 55.41 kB / 0.523 GB, free: 13.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.007717, allocations: 191.6 kB / 0.5232 GB, free: 13.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.007746, allocations: 33.7 kB / 0.5233 GB, free: 13.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.007848, allocations: 138.8 kB / 0.5234 GB, free: 13.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.007875, allocations: 16.92 kB / 0.5234 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.007945, allocations: 39.36 kB / 0.5234 GB, free: 13.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.008225, allocations: 0.4895 MB / 0.5239 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.008313, allocations: 23.98 kB / 0.524 GB, free: 12.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.008457, allocations: 89.78 kB / 0.524 GB, free: 12.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.008699, allocations: 116.9 kB / 0.5241 GB, free: 12.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.008701, allocations: 0 / 0.5241 GB, free: 12.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002861/0.008988, allocations: 131.2 kB / 0.5243 GB, free: 12.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.009003, allocations: 5.281 kB / 0.5243 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.009013, allocations: 8 kB / 0.5243 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.009027, allocations: 0 / 0.5243 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.009172, allocations: 29.17 kB / 0.5243 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.009179, allocations: 4 kB / 0.5243 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.009252, allocations: 15.88 kB / 0.5243 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.009268, allocations: 4.719 kB / 0.5243 GB, free: 12.37 MB / 458.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 0.0001416/0.00941, allocations: 169.4 kB / 0.5245 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.009435, allocations: 15.89 kB / 0.5245 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.009462, allocations: 4.438 kB / 0.5245 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.009468, allocations: 7.984 kB / 0.5245 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.009472, allocations: 0 / 0.5245 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.009475, allocations: 0 / 0.5245 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.009962, allocations: 361.3 kB / 0.5249 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.009964, allocations: 2.938 kB / 0.5249 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.01, allocations: 7.984 kB / 0.5249 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01001, allocations: 0 / 0.5249 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.01002, allocations: 8 kB / 0.5249 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01002, allocations: 0 / 0.5249 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01002, allocations: 0 / 0.5249 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.01033, allocations: 247.8 kB / 0.5251 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.01035, allocations: 17.38 kB / 0.5251 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.01036, allocations: 0 / 0.5251 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.01042, allocations: 4 kB / 0.5251 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.01048, allocations: 3.984 kB / 0.5251 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01049, allocations: 4.5 kB / 0.5252 GB, free: 11.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.802e-05/0.01058, allocations: 143.4 kB / 0.5253 GB, free: 11.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 0 / 0.5253 GB, free: 11.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.01082, allocations: 16 kB / 0.5253 GB, free: 11.32 MB / 458.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.0001691/0.01099, allocations: 99.25 kB / 0.5254 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.01125, allocations: 87.03 kB / 0.5255 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01125, allocations: 0 / 0.5255 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.936e-05/0.01135, allocations: 35.67 kB / 0.5255 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.01164, allocations: 22.67 kB / 0.5255 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.01237, allocations: 158.8 kB / 0.5257 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.01247, allocations: 82.36 kB / 0.5258 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.833e-05/0.01251, allocations: 7.984 kB / 0.5258 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.01255, allocations: 21.47 kB / 0.5258 GB, free: 10.75 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01255, allocations: 4 kB / 0.5258 GB, free: 10.75 MB / 458.7 MB Notification: Performance of Templates: time 0.004529/0.01708, allocations: 1.019 MB / 0.5268 GB, free: 9.793 MB / 458.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: 6.157379499054514]