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.0013/0.0013, 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.001393/0.001393, allocations: 181 kB / 23.35 MB, free: 1.137 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.9866/0.9866, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7664/0.7664, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.084e-06/2.084e-06, allocations: 0.5469 kB / 480 MB, free: 6.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.805e-05, allocations: 4.703 kB / 480 MB, free: 6.957 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001869/0.001897, allocations: 0.6631 MB / 480.6 MB, free: 6.324 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.003642, allocations: 1.123 MB / 481.8 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.003687, allocations: 0 / 481.8 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.003715, allocations: 6.031 kB / 481.8 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.003786, allocations: 6.562 kB / 481.8 MB, free: 5.184 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.00408, allocations: 43.77 kB / 481.8 MB, free: 5.141 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.004185, allocations: 49.58 kB / 481.9 MB, free: 5.102 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.004262, allocations: 7.984 kB / 481.9 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.004351, allocations: 26.03 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.004401, allocations: 21.72 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.004417, allocations: 6.625 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.004496, allocations: 20.53 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.004519, allocations: 13.3 kB / 482 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.004546, allocations: 13.95 kB / 482 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.004675, allocations: 50.17 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.004678, allocations: 0 / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004679, allocations: 0 / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.004683, allocations: 1.781 kB / 482 MB, free: 4.957 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.0003724/0.005055, allocations: 268.5 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.005087, allocations: 8.031 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.005173, allocations: 5.938 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.005255, allocations: 117.7 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.005266, allocations: 5 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.005278, allocations: 1.359 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.005391, allocations: 63.56 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.0054, allocations: 1.422 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.005408, allocations: 4.375 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.005417, allocations: 1 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.005448, allocations: 15.86 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.005718, allocations: 161.5 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/0.005792, allocations: 36.33 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.005811, allocations: 9.453 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.005824, allocations: 4.75 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.535e-05/0.0059, allocations: 67.45 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.005901, allocations: 1.781 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001216/0.006023, allocations: 53.62 kB / 482.8 MB, free: 4.059 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.006062, allocations: 55.41 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.006126, allocations: 110.7 kB / 483 MB, free: 3.871 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.00614, allocations: 25.7 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.006174, allocations: 84.88 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.006195, allocations: 23.83 kB / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.006231, allocations: 18.72 kB / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.006319, allocations: 318.8 kB / 483.5 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.006336, allocations: 4.75 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.006371, allocations: 39.36 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.73e-05/0.006428, allocations: 45.94 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.006431, allocations: 4.531 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.73e-05/0.006528, allocations: 58.7 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.006542, allocations: 8 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006546, allocations: 0.6562 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.006561, allocations: 3.938 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.006638, allocations: 8.531 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.006643, allocations: 9.141 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.006681, allocations: 11.95 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.006688, allocations: 3.938 kB / 483.6 MB, free: 3.168 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.752e-05/0.006756, allocations: 111.8 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.006771, allocations: 8 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.006871, allocations: 58.05 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.006874, allocations: 3.938 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.006877, allocations: 4.688 kB / 483.8 MB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00688, allocations: 0 / 483.8 MB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.00707, allocations: 196.7 kB / 484 MB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007072, allocations: 4 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.007117, allocations: 7.984 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.007121, allocations: 1.031 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.007131, allocations: 11.94 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.007133, allocations: 0 / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007134, allocations: 0.5 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.00724, allocations: 151.4 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.007249, allocations: 4.547 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.007277, allocations: 9.375 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.007382, allocations: 11.98 kB / 484.2 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.007409, allocations: 0 / 484.2 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.007419, allocations: 4 kB / 484.2 MB, free: 2.547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.501e-05/0.007444, allocations: 17.52 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007444, allocations: 0.7188 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.007602, allocations: 8 kB / 484.3 MB, free: 2.52 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.0001042/0.007707, allocations: 89.17 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.636e-05/0.007783, allocations: 33.66 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.007785, allocations: 0.5312 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/0.007811, allocations: 20.78 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.00793, allocations: 13.69 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.008281, allocations: 139.9 kB / 484.5 MB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.017e-05/0.008311, allocations: 59.34 kB / 484.6 MB, free: 2.117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.008331, allocations: 5.875 kB / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.008371, allocations: 52.34 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.008371, allocations: 4 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of Templates: time 0.002173/0.01054, allocations: 0.8481 MB / 485.5 MB, free: 1.27 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.571776103693992]