Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001818/0.001818, allocations: 81.5 kB / 19.44 MB, free: 340 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.00207/0.00207, allocations: 173.2 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.317/1.317, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.011e-06, allocations: 4 kB / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.58e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001963/0.001999, allocations: 0.6566 MB / 0.5202 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.003799, allocations: 1.086 MB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.003843, allocations: 0 / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.003873, allocations: 5.719 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.575e-05/0.003959, allocations: 7.922 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.0043, allocations: 43.72 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.00444, allocations: 55.83 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004546, allocations: 8.562 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.004658, allocations: 28.84 kB / 0.5214 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.00472, allocations: 19.97 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.004743, allocations: 4 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.004823, allocations: 21.42 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.004846, allocations: 4 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.004893, allocations: 23.91 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.005084, allocations: 71.7 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.005088, allocations: 0.7812 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005089, allocations: 0 / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.005094, allocations: 1.188 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007393/0.005833, allocations: 386.9 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.005882, allocations: 16.02 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.006009, allocations: 8.891 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.006157, allocations: 108.6 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.006175, allocations: 384 / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.006195, allocations: 8.375 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.006384, allocations: 54.17 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.006395, allocations: 0.7188 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.006408, allocations: 5.719 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.006413, allocations: 384 / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.006558, allocations: 39.89 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.007095, allocations: 272.7 kB / 0.5224 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.007266, allocations: 55.05 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.007349, allocations: 32.67 kB / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.007374, allocations: 0 / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.007545, allocations: 81.88 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.007546, allocations: 0 / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003813/0.007927, allocations: 102.9 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.007992, allocations: 63.34 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.008152, allocations: 171.4 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.008173, allocations: 25.7 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.008266, allocations: 138.8 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.008291, allocations: 16.59 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.00864, allocations: 31.36 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002712/0.008912, allocations: 0.4902 MB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.008986, allocations: 15.98 kB / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.0091, allocations: 54.73 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.009276, allocations: 84.28 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.009278, allocations: 0 / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002342/0.009512, allocations: 101.1 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.00953, allocations: 7.938 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.009535, allocations: 0 / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.009555, allocations: 4 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.972e-05/0.009654, allocations: 15.92 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.009664, allocations: 4.141 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.009715, allocations: 4 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.009729, allocations: 7.125 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001343/0.009863, allocations: 164.5 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.009887, allocations: 15.88 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.01015, allocations: 90.05 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01015, allocations: 4 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01016, allocations: 0 / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01016, allocations: 0 / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.01063, allocations: 347.2 kB / 0.5245 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01063, allocations: 0 / 0.5245 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.01068, allocations: 7.938 kB / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01068, allocations: 0 / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.01069, allocations: 0 / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01069, allocations: 6.125 kB / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01069, allocations: 384 / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.01104, allocations: 247.8 kB / 0.5247 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.01105, allocations: 0 / 0.5247 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.01107, allocations: 0 / 0.5247 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.01115, allocations: 6.75 kB / 0.5247 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.0112, allocations: 7.984 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.01121, allocations: 4 kB / 0.5248 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.807e-05/0.0113, allocations: 131.2 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0113, allocations: 0 / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002443/0.01155, allocations: 12 kB / 0.5249 GB, free: 12.83 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001941/0.01174, allocations: 104.7 kB / 0.525 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.01199, allocations: 68.38 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01199, allocations: 0 / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.01209, allocations: 37.77 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.01236, allocations: 13.95 kB / 0.5251 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.01278, allocations: 150.1 kB / 0.5252 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.013e-05/0.01287, allocations: 71.88 kB / 0.5253 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.0129, allocations: 0.7812 kB / 0.5253 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.01293, allocations: 13.16 kB / 0.5253 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of SimCode: time 5.3e-07/0.01293, allocations: 0 / 0.5253 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.004275/0.01721, allocations: 0.8343 MB / 0.5261 GB, free: 11.54 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.41501363797579]