Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001516/0.001516, 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.001774/0.001774, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9668/0.9668, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7727/0.7727, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.5205 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.946e-05, allocations: 4.938 kB / 0.5206 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001359/0.001388, allocations: 0.6638 MB / 0.5212 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.00241, allocations: 1.108 MB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.002459, allocations: 0.625 kB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.002486, allocations: 5.531 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.00255, allocations: 15.84 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.002813, allocations: 43.83 kB / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.002899, allocations: 43.86 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.002993, allocations: 16.95 kB / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.003069, allocations: 23.92 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.003112, allocations: 28.83 kB / 0.5225 GB, free: 372 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.003127, allocations: 4 kB / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.003184, allocations: 12 kB / 0.5225 GB, free: 356 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.003206, allocations: 9.172 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.003234, allocations: 23.91 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.003358, allocations: 47.88 kB / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00336, allocations: 4.812 kB / 0.5226 GB, free: 272 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003361, allocations: 0 / 0.5226 GB, free: 272 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.003365, allocations: 0.5625 kB / 0.5226 GB, free: 272 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004581/0.003823, allocations: 385.3 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.00386, allocations: 8.688 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.887e-05/0.003959, allocations: 16.83 kB / 0.5229 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.465e-05/0.004043, allocations: 117 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.004056, allocations: 1.219 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.004065, allocations: 4.375 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.004195, allocations: 65.94 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.004203, allocations: 192 / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.004213, allocations: 4.359 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.00422, allocations: 4.375 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.004255, allocations: 11.94 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.004609, allocations: 271.7 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.004693, allocations: 42.98 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.004721, allocations: 20.81 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.004738, allocations: 0 / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.533e-05/0.004823, allocations: 65.62 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.004824, allocations: 0 / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.00018/0.005004, allocations: 74.19 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.005046, allocations: 56.33 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.005126, allocations: 166.2 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.005137, allocations: 25.7 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.005184, allocations: 144.3 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.005201, allocations: 15.91 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.005236, allocations: 27.38 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.005355, allocations: 496.1 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.005379, allocations: 4.969 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.005416, allocations: 46.73 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.005477, allocations: 64.77 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005479, allocations: 0 / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.921e-05/0.005578, allocations: 74.38 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.005592, allocations: 7.938 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005598, allocations: 4.781 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.00561, allocations: 0 / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.005684, allocations: 12.92 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.00569, allocations: 0 / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.005716, allocations: 9.375 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.005724, allocations: 4 kB / 0.5247 GB, free: 13.83 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 7.047e-05/0.005794, allocations: 168.5 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.005808, allocations: 15.83 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.005922, allocations: 67.44 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.005925, allocations: 4 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.005929, allocations: 3.984 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.005932, allocations: 2.75 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.006142, allocations: 317.4 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.006144, allocations: 0 / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.006173, allocations: 4 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.006177, allocations: 4 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.006184, allocations: 0 / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.006188, allocations: 4.141 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.006189, allocations: 2.344 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.006315, allocations: 224.1 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.006321, allocations: 0 / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.006333, allocations: 4 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.00638, allocations: 11.98 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.006413, allocations: 0 / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.006425, allocations: 8.734 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.00646, allocations: 123.2 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00646, allocations: 0.9062 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001575/0.006617, allocations: 16 kB / 0.5256 GB, free: 12.8 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.000126/0.006743, allocations: 103.8 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.006844, allocations: 43.03 kB / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.006846, allocations: 0 / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/0.006879, allocations: 23.69 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.007076, allocations: 12.06 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.007547, allocations: 153 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.007584, allocations: 55.36 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.007607, allocations: 7.984 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.007632, allocations: 12.5 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.007633, allocations: 0 / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.002539/0.01017, allocations: 0.8286 MB / 0.5268 GB, free: 11.55 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.886749304132536]