Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.00105/0.00105, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002481, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007667/0.0007667, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009889/0.001756, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9981/0.9981, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09541/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.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.8464/0.8464, allocations: 154.6 MB / 398.8 MB, free: 368 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2687/1.115, allocations: 49.04 MB / 447.8 MB, free: 6.559 MB / 426.7 MB " [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.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 449.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.969e-05, allocations: 4.281 kB / 449.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001097/0.001117, allocations: 0.6253 MB / 449.8 MB, free: 4.629 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.737e-05/0.001134, allocations: 11.92 kB / 449.8 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.063e-05/0.001145, allocations: 0 / 449.8 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.001161, allocations: 0 / 449.8 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.046e-05/0.001171, allocations: 0.875 kB / 449.8 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.107e-05/0.001182, allocations: 0.6562 kB / 449.8 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.734e-05/0.001229, allocations: 8.641 kB / 449.8 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.001259, allocations: 1.406 kB / 449.8 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.001289, allocations: 0.7656 kB / 449.8 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.08e-05/0.00131, allocations: 0 / 449.8 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.001324, allocations: 4.656 kB / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.001333, allocations: 0.75 kB / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.001344, allocations: 0.5469 kB / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.077e-05/0.001355, allocations: 0.9062 kB / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 4.899e-05/0.001404, allocations: 1.094 kB / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.001414, allocations: 1.875 kB / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.001415, allocations: 0 / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.001426, allocations: 0.9844 kB / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001904/0.001617, allocations: 212.8 kB / 450 MB, free: 4.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.001647, allocations: 8.031 kB / 450 MB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.001673, allocations: 1.812 kB / 450.1 MB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.751e-05/0.001731, allocations: 111.2 kB / 450.2 MB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.001739, allocations: 1.656 kB / 450.2 MB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.001748, allocations: 4.312 kB / 450.2 MB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.698e-05/0.001815, allocations: 26.27 kB / 450.2 MB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.001822, allocations: 4.875 kB / 450.2 MB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-06/0.001827, allocations: 1.25 kB / 450.2 MB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.001831, allocations: 1.438 kB / 450.2 MB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.847e-06/0.00184, allocations: 7.922 kB / 450.2 MB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.745e-05/0.001898, allocations: 57.05 kB / 450.3 MB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.171e-05/0.001929, allocations: 19.48 kB / 450.3 MB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.001948, allocations: 17.5 kB / 450.3 MB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.001954, allocations: 0.8906 kB / 450.3 MB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.001971, allocations: 32.22 kB / 450.3 MB, free: 4.027 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.001972, allocations: 0.875 kB / 450.3 MB, free: 4.027 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.558e-05/0.002048, allocations: 29.7 kB / 450.4 MB, free: 3.992 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.002075, allocations: 56.91 kB / 450.4 MB, free: 3.926 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.199e-05/0.002097, allocations: 89.86 kB / 450.5 MB, free: 3.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.002105, allocations: 25.7 kB / 450.5 MB, free: 3.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.002126, allocations: 88.12 kB / 450.6 MB, free: 3.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.00216, allocations: 3.562 kB / 450.6 MB, free: 3.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.002179, allocations: 9.719 kB / 450.6 MB, free: 3.691 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.002265, allocations: 319.3 kB / 450.9 MB, free: 3.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.002271, allocations: 3.938 kB / 450.9 MB, free: 3.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/0.002276, allocations: 0.6875 kB / 450.9 MB, free: 3.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.002299, allocations: 9.953 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.002301, allocations: 0 / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.06e-05/0.002331, allocations: 35.3 kB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.002342, allocations: 4 kB / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.002346, allocations: 3.312 kB / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.002358, allocations: 0 / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.436e-05/0.002413, allocations: 4 kB / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.002416, allocations: 0 / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-06/0.002422, allocations: 0 / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.002426, allocations: 7.922 kB / 451 MB, free: 3.297 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.208e-05/0.002469, allocations: 113.8 kB / 451.1 MB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-06/0.002471, allocations: 0.9844 kB / 451.1 MB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.002483, allocations: 5.062 kB / 451.1 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.002484, allocations: 0 / 451.1 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.002486, allocations: 0 / 451.1 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.002489, allocations: 0 / 451.1 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.046e-05/0.002529, allocations: 74.58 kB / 451.2 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-07/0.00253, allocations: 0 / 451.2 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-06/0.002535, allocations: 4.5 kB / 451.2 MB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.00254, allocations: 4.688 kB / 451.2 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.002541, allocations: 0.875 kB / 451.2 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-06/0.002545, allocations: 0.625 kB / 451.2 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.002545, allocations: 0 / 451.2 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.002546, allocations: 1.641 kB / 451.2 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.114e-05/0.002587, allocations: 65.67 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-06/0.002593, allocations: 0.625 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-06/0.002596, allocations: 3.938 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-06/0.002604, allocations: 0.9375 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-07/0.002605, allocations: 0.9844 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.514e-06/0.002613, allocations: 8.344 kB / 451.3 MB, free: 2.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002613, allocations: 1.719 kB / 451.3 MB, free: 2.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001276/0.00274, allocations: 4 kB / 451.3 MB, free: 2.977 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001228/0.002863, allocations: 73.33 kB / 451.4 MB, free: 2.895 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.182e-05/0.002935, allocations: 13.5 kB / 451.4 MB, free: 2.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.002941, allocations: 1 kB / 451.4 MB, free: 2.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.002951, allocations: 9.516 kB / 451.4 MB, free: 2.867 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.636e-05/0.003008, allocations: 13.97 kB / 451.4 MB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.00335, allocations: 89.83 kB / 451.5 MB, free: 2.742 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.003377, allocations: 52.02 kB / 451.5 MB, free: 2.672 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.264e-05/0.00339, allocations: 0 / 451.5 MB, free: 2.672 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.003425, allocations: 53.25 kB / 451.6 MB, free: 2.621 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.003426, allocations: 0 / 451.6 MB, free: 2.621 MB / 426.7 MB Notification: Performance of Templates: time 0.001456/0.004882, allocations: 198.3 kB / 451.8 MB, free: 2.434 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5150459092110395]