Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001233/0.001233, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001903/0.003136, allocations: 435.8 kB / 10.33 MB, free: 368 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.001036/0.001036, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.002105, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9746/0.9746, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0899/1.065, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7887/0.7887, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2681/1.057, allocations: 49.13 MB / 448.4 MB, free: 5.988 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-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.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.226e-06/9.448e-06, allocations: 4.594 kB / 449.7 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.0009122/0.0009216, allocations: 0.6191 MB / 450.3 MB, free: 4.086 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.591e-05/0.0009375, allocations: 8.703 kB / 450.4 MB, free: 4.078 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.048e-05/0.000948, allocations: 0 / 450.4 MB, free: 4.078 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.0009639, allocations: 1.969 kB / 450.4 MB, free: 4.078 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.265e-06/0.0009722, allocations: 0 / 450.4 MB, free: 4.078 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.081e-05/0.000983, allocations: 4 kB / 450.4 MB, free: 4.074 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.99e-05/0.001023, allocations: 1.203 kB / 450.4 MB, free: 4.074 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.965e-05/0.001053, allocations: 0 / 450.4 MB, free: 4.074 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.001082, allocations: 6.391 kB / 450.4 MB, free: 4.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.977e-05/0.001102, allocations: 3.938 kB / 450.4 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.001114, allocations: 0 / 450.4 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.487e-06/0.001118, allocations: 0.7656 kB / 450.4 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-06/0.001125, allocations: 0.5312 kB / 450.4 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.001139, allocations: 1.344 kB / 450.4 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 5.624e-05/0.001196, allocations: 8.969 kB / 450.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.001207, allocations: 1.906 kB / 450.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001208, allocations: 0 / 450.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.001219, allocations: 0 / 450.4 MB, free: 4.059 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.0002041/0.001423, allocations: 208.8 kB / 450.6 MB, free: 3.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.001451, allocations: 8.031 kB / 450.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.001477, allocations: 6.422 kB / 450.6 MB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.079e-05/0.001528, allocations: 101.8 kB / 450.7 MB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.001536, allocations: 384 / 450.7 MB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.001543, allocations: 5.297 kB / 450.7 MB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.418e-05/0.001597, allocations: 30.27 kB / 450.7 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-06/0.001602, allocations: 1.734 kB / 450.7 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-06/0.001606, allocations: 1.656 kB / 450.7 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.00161, allocations: 384 / 450.7 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.247e-05/0.001622, allocations: 7.875 kB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.307e-05/0.001675, allocations: 60.8 kB / 450.8 MB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.695e-05/0.001702, allocations: 15.2 kB / 450.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.001718, allocations: 14.91 kB / 450.8 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-06/0.001722, allocations: 0 / 450.8 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.001737, allocations: 30.56 kB / 450.9 MB, free: 3.492 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 4.51e-07/0.001737, allocations: 0.7656 kB / 450.9 MB, free: 3.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 6.694e-05/0.001804, allocations: 42.19 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.001829, allocations: 56.03 kB / 451 MB, free: 3.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.397e-05/0.001853, allocations: 93.86 kB / 451.1 MB, free: 3.277 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.00186, allocations: 27.42 kB / 451.1 MB, free: 3.246 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.549e-05/0.001875, allocations: 80.14 kB / 451.2 MB, free: 3.164 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.001899, allocations: 0 / 451.2 MB, free: 3.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.001918, allocations: 14.27 kB / 451.2 MB, free: 3.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.001985, allocations: 314.8 kB / 451.5 MB, free: 2.828 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.001989, allocations: 1.438 kB / 451.5 MB, free: 2.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-06/0.001992, allocations: 0 / 451.5 MB, free: 2.828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.711e-05/0.002009, allocations: 9.703 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.002012, allocations: 4.641 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.485e-05/0.002036, allocations: 34.23 kB / 451.5 MB, free: 2.773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.002046, allocations: 4 kB / 451.5 MB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.00205, allocations: 4.906 kB / 451.5 MB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.002056, allocations: 0 / 451.5 MB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.002105, allocations: 0.625 kB / 451.5 MB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.002107, allocations: 0.9844 kB / 451.5 MB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-06/0.002114, allocations: 4.641 kB / 451.5 MB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.002118, allocations: 4 kB / 451.5 MB, free: 2.762 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 3.974e-05/0.002158, allocations: 109.8 kB / 451.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-06/0.002161, allocations: 2.094 kB / 451.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311e-05/0.002174, allocations: 10.98 kB / 451.7 MB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/0.002175, allocations: 0 / 451.7 MB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.002176, allocations: 0 / 451.7 MB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.002178, allocations: 4 kB / 451.7 MB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.454e-05/0.002213, allocations: 66.5 kB / 451.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.002213, allocations: 0.9062 kB / 451.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-06/0.002218, allocations: 4 kB / 451.7 MB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-06/0.002221, allocations: 0.875 kB / 451.7 MB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.002222, allocations: 0 / 451.7 MB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-06/0.002225, allocations: 3 kB / 451.7 MB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.002226, allocations: 4.812 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.002227, allocations: 0 / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.024e-05/0.002267, allocations: 65.61 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-06/0.002272, allocations: 0 / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.015e-06/0.002275, allocations: 0.5938 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-06/0.002282, allocations: 0.6562 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-07/0.002283, allocations: 0 / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.62e-06/0.002288, allocations: 9.391 kB / 451.8 MB, free: 2.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.002288, allocations: 0.7656 kB / 451.8 MB, free: 2.445 MB / 426.7 MB Notification: Performance of remove unused functions: time 7.928e-05/0.002368, allocations: 0.625 kB / 451.8 MB, free: 2.445 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 5.989e-05/0.002428, allocations: 81.78 kB / 451.9 MB, free: 2.355 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.496e-05/0.002473, allocations: 9.297 kB / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.002478, allocations: 4 kB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.109e-06/0.002483, allocations: 10.02 kB / 451.9 MB, free: 2.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.381e-05/0.002527, allocations: 11.88 kB / 451.9 MB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.002785, allocations: 90.69 kB / 452 MB, free: 2.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.396e-05/0.002809, allocations: 56.12 kB / 452.1 MB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.277e-06/0.002818, allocations: 0 / 452.1 MB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.002842, allocations: 51.38 kB / 452.1 MB, free: 2.082 MB / 426.7 MB Notification: Performance of SimCode: time 4.5e-07/0.002842, allocations: 1 kB / 452.1 MB, free: 2.082 MB / 426.7 MB Notification: Performance of Templates: time 0.001225/0.004068, allocations: 206.7 kB / 452.3 MB, free: 1.883 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.436978875659406]