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.0009752/0.0009752, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001071/0.001071, allocations: 181 kB / 23.36 MB, free: 1.133 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.8093/0.8093, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.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 2.214e-06/2.214e-06, allocations: 0 / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.641e-05, allocations: 5.453 kB / 480 MB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001766/0.001792, allocations: 0.6998 MB / 480.7 MB, free: 6.223 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004512/0.006304, allocations: 1.12 MB / 481.8 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.006346, allocations: 0 / 481.8 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.00637, allocations: 5.812 kB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.006433, allocations: 10.23 kB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.006666, allocations: 44.75 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.886e-05/0.006755, allocations: 52.27 kB / 482 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.64e-05/0.006821, allocations: 9.719 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.006897, allocations: 26.27 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.006942, allocations: 21.28 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.006955, allocations: 4 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.692e-05/0.007032, allocations: 19.98 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.007054, allocations: 14.77 kB / 482.1 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.007076, allocations: 9.531 kB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.007191, allocations: 62.3 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.007194, allocations: 0 / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007195, allocations: 0.9062 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.007198, allocations: 0 / 482.1 MB, free: 4.844 MB / 442.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.0003377/0.007536, allocations: 256.6 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.007567, allocations: 8.656 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.007655, allocations: 13.55 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.387e-05/0.007729, allocations: 117.7 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.007738, allocations: 5 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.007747, allocations: 4.375 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.504e-05/0.007842, allocations: 59.55 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00785, allocations: 4.812 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.007857, allocations: 4.375 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.007863, allocations: 5.156 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.007888, allocations: 7.938 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.008158, allocations: 168.8 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.573e-05/0.008224, allocations: 28.3 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.008241, allocations: 8.859 kB / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.008257, allocations: 7.984 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.131e-05/0.008328, allocations: 56.5 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.00833, allocations: 0 / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001163/0.008446, allocations: 61.55 kB / 482.9 MB, free: 3.949 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.008479, allocations: 52.12 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.008541, allocations: 110.7 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.008551, allocations: 26.33 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.008583, allocations: 89.09 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.008601, allocations: 11.84 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.008642, allocations: 29.69 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.008721, allocations: 312.1 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.008737, allocations: 7.984 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.008767, allocations: 31.42 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.008823, allocations: 52.48 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008825, allocations: 1.031 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.937e-05/0.008924, allocations: 64.48 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.008938, allocations: 9.875 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.008943, allocations: 1.344 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.008954, allocations: 3.938 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.009022, allocations: 15.98 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.009025, allocations: 0 / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.00906, allocations: 13.39 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.009069, allocations: 4 kB / 483.7 MB, free: 3.062 MB / 442.7 MB 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 6.286e-05/0.009132, allocations: 113.8 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.009142, allocations: 5.031 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.009229, allocations: 62.66 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.009232, allocations: 4.906 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009234, allocations: 0 / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009236, allocations: 0 / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.009418, allocations: 211.7 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009419, allocations: 0 / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.009451, allocations: 4.531 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.009454, allocations: 3.984 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.009462, allocations: 9.281 kB / 484.1 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.009464, allocations: 0 / 484.1 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009465, allocations: 0 / 484.1 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.8e-05/0.009553, allocations: 143.5 kB / 484.3 MB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.009562, allocations: 8.891 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.009574, allocations: 7.922 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.009634, allocations: 5.219 kB / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.009665, allocations: 12.88 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.009674, allocations: 0 / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.416e-05/0.009688, allocations: 9.922 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009688, allocations: 0 / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.009895, allocations: 12 kB / 484.3 MB, free: 2.41 MB / 442.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: 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.0001126/0.01001, allocations: 90.22 kB / 484.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.01008, allocations: 32.92 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01009, allocations: 0.7812 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.862e-05/0.01011, allocations: 20.8 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.01029, allocations: 18.27 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.01064, allocations: 138.8 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.01067, allocations: 55.36 kB / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.265e-05/0.01069, allocations: 11.55 kB / 484.7 MB, free: 2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.01074, allocations: 55.38 kB / 484.8 MB, free: 1.945 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01074, allocations: 0 / 484.8 MB, free: 1.945 MB / 442.7 MB Notification: Performance of Templates: time 0.002355/0.0131, allocations: 0.8538 MB / 485.6 MB, free: 1.152 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.690289245918393]