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.0008393/0.0008393, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.0008867/0.0008867, allocations: 170 kB / 23.28 MB, free: 1.223 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.8731/0.8731, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.7355/0.7355, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.643e-06/1.643e-06, allocations: 0 / 0.5208 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.218e-05, allocations: 4.281 kB / 0.5208 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001116/0.001128, allocations: 0.7212 MB / 0.5215 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009271/0.002055, allocations: 1.126 MB / 0.5226 GB, free: 84 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.002096, allocations: 0 / 0.5226 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.00212, allocations: 4.531 kB / 0.5226 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.002182, allocations: 12.78 kB / 0.5226 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.002417, allocations: 59.69 kB / 0.5227 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.002506, allocations: 72.36 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.614e-05/0.002582, allocations: 20.16 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.002659, allocations: 36.53 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.002699, allocations: 32.58 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.002712, allocations: 4 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.002756, allocations: 16.75 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.002775, allocations: 19.97 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.002797, allocations: 20.92 kB / 0.5229 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.089e-05/0.002888, allocations: 63.73 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.00289, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.41e-07/0.00289, allocations: 1.75 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.736e-06/0.002893, allocations: 0 / 0.5229 GB, free: 15.73 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.0003085/0.003201, allocations: 396.4 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.003242, allocations: 12.03 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.003269, allocations: 14.64 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.579e-05/0.003335, allocations: 120.5 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.003345, allocations: 4.375 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.003354, allocations: 8.375 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.823e-05/0.003442, allocations: 62.88 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003449, allocations: 0.9375 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.003456, allocations: 8.359 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.003462, allocations: 9.531 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.003479, allocations: 7.984 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.003772, allocations: 285.5 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.124e-05/0.003833, allocations: 43.05 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.003848, allocations: 11.69 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.003864, allocations: 2 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.003924, allocations: 73 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.003925, allocations: 0 / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001278/0.004053, allocations: 73.77 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.004079, allocations: 57.41 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.004148, allocations: 184.7 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.00416, allocations: 29.7 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.004213, allocations: 146.8 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.004229, allocations: 19.88 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.004383, allocations: 31.92 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.004474, allocations: 496.1 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.004492, allocations: 12.98 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.004532, allocations: 77.72 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.38e-05/0.004596, allocations: 88.64 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.004597, allocations: 0 / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.531e-05/0.004692, allocations: 102.9 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.004702, allocations: 6.281 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.004706, allocations: 320 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.004716, allocations: 7.984 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.004782, allocations: 12.69 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.004786, allocations: 9.266 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.004816, allocations: 8 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.004824, allocations: 7.984 kB / 0.5253 GB, free: 13.11 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.088e-05/0.004885, allocations: 169.3 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.004895, allocations: 11.89 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.004917, allocations: 17.17 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.004918, allocations: 0 / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.004919, allocations: 3.156 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.004923, allocations: 4 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.005103, allocations: 313.9 kB / 0.5258 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005104, allocations: 0 / 0.5258 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.005127, allocations: 11.98 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005128, allocations: 0 / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-06/0.005133, allocations: 3.938 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005134, allocations: 4 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005135, allocations: 3.031 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.214e-05/0.005227, allocations: 215.8 kB / 0.526 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.005234, allocations: 7.953 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.005242, allocations: 3.984 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.005274, allocations: 4 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.005297, allocations: 7.984 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.0053, allocations: 0 / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.005334, allocations: 139.2 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005334, allocations: 1.5 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001564/0.00549, allocations: 12 kB / 0.5262 GB, free: 12.14 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 8.61e-05/0.005576, allocations: 103.2 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.621e-05/0.005652, allocations: 50.98 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005653, allocations: 4 kB / 0.5263 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.005679, allocations: 23.61 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.005909, allocations: 19.88 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.006167, allocations: 157.1 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.006199, allocations: 63.34 kB / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.006221, allocations: 4 kB / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.006272, allocations: 78.19 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.006273, allocations: 0 / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.002334/0.008607, allocations: 1.129 MB / 0.5277 GB, free: 10.52 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.347141012083739]