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.001444/0.001444, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001368/0.001368, allocations: 177 kB / 23.36 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 1.03/1.03, allocations: 177.2 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.8646/0.8646, allocations: 154.6 MB / 414.8 MB, free: 496 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. " [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.394e-06/2.394e-06, allocations: 0 / 480.1 MB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.058e-05, allocations: 9.156 kB / 480.1 MB, free: 6.844 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002281/0.002311, allocations: 0.6169 MB / 480.7 MB, free: 6.262 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 6.299e-05/0.002374, allocations: 7.938 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.002394, allocations: 0.6562 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.002423, allocations: 0 / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.355e-05/0.002456, allocations: 1.25 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.461e-05/0.002501, allocations: 3.984 kB / 480.7 MB, free: 6.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.00256, allocations: 0.5469 kB / 480.7 MB, free: 6.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.002609, allocations: 13.45 kB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.001e-05/0.002649, allocations: 0 / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.771e-05/0.002677, allocations: 0.5469 kB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.002689, allocations: 0 / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-06/0.002694, allocations: 2.125 kB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.002709, allocations: 0.6562 kB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.002727, allocations: 4 kB / 480.8 MB, free: 6.234 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.809e-05/0.002795, allocations: 0 / 480.8 MB, free: 6.234 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002798, allocations: 0.6562 kB / 480.8 MB, free: 6.234 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.002799, allocations: 0 / 480.8 MB, free: 6.234 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.002804, allocations: 0.875 kB / 480.8 MB, free: 6.234 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002305/0.003034, allocations: 209.4 kB / 481 MB, free: 6.004 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.003078, allocations: 8.938 kB / 481 MB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.003105, allocations: 4.938 kB / 481 MB, free: 5.992 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.003185, allocations: 115.5 kB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.003198, allocations: 384 / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-06/0.003204, allocations: 1 kB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.003281, allocations: 30.89 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.003288, allocations: 192 / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.003294, allocations: 1 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.003301, allocations: 384 / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-06/0.00331, allocations: 4.562 kB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.864e-05/0.003399, allocations: 60.67 kB / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.061e-05/0.003439, allocations: 23.03 kB / 481.2 MB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.00346, allocations: 9.766 kB / 481.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.003466, allocations: 0.5469 kB / 481.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.003491, allocations: 36.34 kB / 481.2 MB, free: 5.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.003492, allocations: 0 / 481.2 MB, free: 5.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.902e-05/0.003581, allocations: 29.7 kB / 481.3 MB, free: 5.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.003616, allocations: 59.41 kB / 481.3 MB, free: 5.555 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.39e-05/0.00365, allocations: 91.17 kB / 481.4 MB, free: 5.457 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.003661, allocations: 25.7 kB / 481.4 MB, free: 5.426 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.003687, allocations: 81.14 kB / 481.5 MB, free: 5.344 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.003718, allocations: 3.938 kB / 481.5 MB, free: 5.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.003746, allocations: 17.7 kB / 481.5 MB, free: 5.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.003847, allocations: 315.5 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.003855, allocations: 0.875 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.003861, allocations: 0.9375 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.003891, allocations: 9.984 kB / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.003893, allocations: 0 / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.35e-05/0.003946, allocations: 30.27 kB / 481.9 MB, free: 4.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.003961, allocations: 8 kB / 481.9 MB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.003966, allocations: 0.9688 kB / 481.9 MB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.003978, allocations: 0 / 481.9 MB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.004026, allocations: 11.53 kB / 481.9 MB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.004029, allocations: 0 / 481.9 MB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.064e-05/0.00404, allocations: 0 / 481.9 MB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.004045, allocations: 4 kB / 481.9 MB, free: 4.934 MB / 442.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 6.765e-05/0.004113, allocations: 113.8 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.004118, allocations: 0.75 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.004135, allocations: 3.719 kB / 482 MB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.004137, allocations: 1.391 kB / 482 MB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.00414, allocations: 4 kB / 482 MB, free: 4.805 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.004143, allocations: 1.156 kB / 482 MB, free: 4.805 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.37e-05/0.004206, allocations: 65.84 kB / 482.1 MB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.004208, allocations: 0 / 482.1 MB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.004225, allocations: 9.609 kB / 482.1 MB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.004227, allocations: 1.172 kB / 482.1 MB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-06/0.004231, allocations: 0 / 482.1 MB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.004232, allocations: 0.875 kB / 482.1 MB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.004233, allocations: 0 / 482.1 MB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.22e-05/0.004305, allocations: 58.36 kB / 482.2 MB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-06/0.004312, allocations: 4.984 kB / 482.2 MB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.00432, allocations: 3.984 kB / 482.2 MB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-06/0.004327, allocations: 0.625 kB / 482.2 MB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.004339, allocations: 0 / 482.2 MB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.004342, allocations: 0.5938 kB / 482.2 MB, free: 4.633 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.154e-05/0.004353, allocations: 8.859 kB / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004354, allocations: 1.438 kB / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.004517, allocations: 0 / 482.2 MB, free: 4.621 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: 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 9.943e-05/0.004617, allocations: 73.11 kB / 482.3 MB, free: 4.539 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.618e-05/0.004673, allocations: 10.88 kB / 482.3 MB, free: 4.527 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.004677, allocations: 4 kB / 482.3 MB, free: 4.523 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.004687, allocations: 9.422 kB / 482.3 MB, free: 4.512 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.008e-05/0.004747, allocations: 4.969 kB / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.004963, allocations: 92.42 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.004997, allocations: 51.89 kB / 482.4 MB, free: 4.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.36e-05/0.005011, allocations: 4 kB / 482.4 MB, free: 4.316 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.005044, allocations: 48.28 kB / 482.5 MB, free: 4.27 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005045, allocations: 0 / 482.5 MB, free: 4.27 MB / 442.7 MB Notification: Performance of Templates: time 0.002152/0.007196, allocations: 215.4 kB / 482.7 MB, free: 4.066 MB / 442.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.654812620021403]