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.0008728/0.0008728, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001037/0.001037, allocations: 173 kB / 23.49 MB, free: 1.059 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.98/0.98, allocations: 177.1 MB / 203.8 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.8212/0.8212, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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 1.934e-06/1.934e-06, allocations: 0 / 0.5204 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.72e-05, allocations: 6.297 kB / 0.5204 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001257/0.001275, allocations: 0.7295 MB / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.002362, allocations: 1.117 MB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.002402, allocations: 0 / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.002427, allocations: 3.938 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.002492, allocations: 17.16 kB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.00274, allocations: 59.69 kB / 0.5222 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.002831, allocations: 75.77 kB / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.002925, allocations: 12.86 kB / 0.5223 GB, free: 476 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.003, allocations: 45.73 kB / 0.5224 GB, free: 432 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.003044, allocations: 23.95 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.003058, allocations: 8 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.638e-05/0.003105, allocations: 16 kB / 0.5224 GB, free: 384 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.003124, allocations: 15.91 kB / 0.5224 GB, free: 368 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.003153, allocations: 25.86 kB / 0.5225 GB, free: 344 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.003266, allocations: 63.73 kB / 0.5225 GB, free: 280 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.003269, allocations: 4 kB / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00327, allocations: 0 / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.003274, allocations: 0 / 0.5225 GB, free: 276 kB / 490.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.0003627/0.003636, allocations: 393.9 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.003669, allocations: 12.02 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.003706, allocations: 12.89 kB / 0.5229 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.176e-05/0.003788, allocations: 120.5 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.003799, allocations: 9.328 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.00381, allocations: 4.375 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.003937, allocations: 71.84 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.003942, allocations: 192 / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.003951, allocations: 4.375 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.003958, allocations: 5.125 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.116e-05/0.003989, allocations: 11.98 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.004363, allocations: 301.2 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/0.004441, allocations: 47.05 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.004466, allocations: 15.69 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.004483, allocations: 5.156 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.973e-05/0.004553, allocations: 65.17 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.004554, allocations: 1.875 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001613/0.004715, allocations: 89.55 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.004747, allocations: 51.41 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.004834, allocations: 181.5 kB / 0.5239 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.004848, allocations: 29.7 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.004897, allocations: 148.5 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.004912, allocations: 11.91 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.004951, allocations: 39.3 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.005051, allocations: 0.4884 MB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.005077, allocations: 8 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.116e-05/0.005128, allocations: 79.3 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/0.005208, allocations: 99.95 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.00521, allocations: 0 / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001193/0.005329, allocations: 103.3 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.00534, allocations: 4 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.005345, allocations: 4 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.005355, allocations: 3 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.005438, allocations: 19.98 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005443, allocations: 0 / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.005474, allocations: 8 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.005484, allocations: 11.98 kB / 0.5249 GB, free: 13.61 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.76e-05/0.005552, allocations: 168.5 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.005562, allocations: 11.89 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.005585, allocations: 11.19 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005587, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.00559, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005593, allocations: 4 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.005818, allocations: 341.6 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005819, allocations: 0 / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.005843, allocations: 7.984 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.005844, allocations: 0.5312 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.005851, allocations: 5.312 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.005852, allocations: 0 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005852, allocations: 80 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.005956, allocations: 227.8 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.005963, allocations: 12.5 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.005973, allocations: 5.5 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.006006, allocations: 4 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.006034, allocations: 3.984 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.00604, allocations: 4 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.006078, allocations: 136.5 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006078, allocations: 0 / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001545/0.006233, allocations: 16 kB / 0.5258 GB, free: 12.6 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.521e-05/0.006328, allocations: 107.8 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.562e-05/0.006424, allocations: 52.92 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006425, allocations: 1.812 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.006459, allocations: 31.61 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.006626, allocations: 11.88 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.006893, allocations: 165.1 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.006925, allocations: 59.34 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.006948, allocations: 15.98 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.006971, allocations: 12.5 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.006972, allocations: 2.438 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.002451/0.009423, allocations: 1.023 MB / 0.5272 GB, free: 11.13 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.764711605850607]