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.0007124/0.0007124, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001853, allocations: 444 kB / 10.41 MB, free: 276 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.0007377/0.0007377, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001742, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9818/0.9818, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08773/1.07, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8517/0.8517, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.2719/1.124, allocations: 49.13 MB / 448.6 MB, free: 5.922 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 2.665e-06/2.665e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.834e-05, allocations: 4.703 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001283/0.001311, allocations: 0.6232 MB / 450.6 MB, free: 3.988 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.522e-05/0.001326, allocations: 0 / 450.6 MB, free: 3.988 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.131e-05/0.001338, allocations: 0 / 450.6 MB, free: 3.988 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.001355, allocations: 8.594 kB / 450.6 MB, free: 3.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.006e-05/0.001365, allocations: 1.969 kB / 450.6 MB, free: 3.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.316e-05/0.001378, allocations: 0 / 450.6 MB, free: 3.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.639e-05/0.001424, allocations: 8.641 kB / 450.6 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.001461, allocations: 4.641 kB / 450.6 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.001495, allocations: 4.875 kB / 450.6 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.062e-05/0.001516, allocations: 0.5 kB / 450.6 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.001529, allocations: 1.406 kB / 450.6 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-06/0.001534, allocations: 0 / 450.6 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.001546, allocations: 0.5469 kB / 450.6 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.001559, allocations: 0.875 kB / 450.6 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 5.507e-05/0.001614, allocations: 5.844 kB / 450.6 MB, free: 3.965 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.001626, allocations: 0 / 450.6 MB, free: 3.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.001627, allocations: 1.656 kB / 450.6 MB, free: 3.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.001635, allocations: 0 / 450.6 MB, free: 3.965 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.000183/0.001818, allocations: 212.8 kB / 450.8 MB, free: 3.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.001848, allocations: 8.031 kB / 450.9 MB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.001872, allocations: 4.938 kB / 450.9 MB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.907e-05/0.001931, allocations: 102.7 kB / 451 MB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.001939, allocations: 384 / 451 MB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.001947, allocations: 2.656 kB / 451 MB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.559e-05/0.002012, allocations: 34.2 kB / 451 MB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.002019, allocations: 1.359 kB / 451 MB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.002025, allocations: 5.062 kB / 451 MB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.00203, allocations: 384 / 451 MB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-06/0.002037, allocations: 4.594 kB / 451 MB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.699e-05/0.002094, allocations: 58.27 kB / 451.1 MB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.016e-05/0.002125, allocations: 22.56 kB / 451.1 MB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.002139, allocations: 8.953 kB / 451.1 MB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-06/0.002144, allocations: 0.8125 kB / 451.1 MB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.002164, allocations: 31.44 kB / 451.1 MB, free: 3.391 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.002164, allocations: 5.906 kB / 451.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.122e-05/0.002235, allocations: 31.11 kB / 451.2 MB, free: 3.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.002262, allocations: 55.41 kB / 451.2 MB, free: 3.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.913e-05/0.002282, allocations: 89.86 kB / 451.3 MB, free: 3.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.002289, allocations: 26.27 kB / 451.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.458e-05/0.002304, allocations: 80.14 kB / 451.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.002329, allocations: 0.625 kB / 451.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.002349, allocations: 22.91 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.00241, allocations: 318.8 kB / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.002416, allocations: 1.219 kB / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.002419, allocations: 0 / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/0.002439, allocations: 13.86 kB / 451.8 MB, free: 2.711 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.002441, allocations: 1.094 kB / 451.8 MB, free: 2.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.301e-05/0.002464, allocations: 30.61 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.002473, allocations: 8 kB / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.002476, allocations: 0 / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.002488, allocations: 0.7188 kB / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.00254, allocations: 3.984 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.002542, allocations: 0.5938 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-06/0.002549, allocations: 3.5 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.002552, allocations: 4 kB / 451.8 MB, free: 2.66 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.985e-05/0.002592, allocations: 109.8 kB / 451.9 MB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-06/0.002594, allocations: 1.656 kB / 451.9 MB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.04e-05/0.002604, allocations: 3 kB / 451.9 MB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-07/0.002605, allocations: 0 / 451.9 MB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.002606, allocations: 5.438 kB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.002608, allocations: 0 / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.631e-05/0.002645, allocations: 65.78 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-07/0.002645, allocations: 0 / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.00265, allocations: 8.828 kB / 452 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-06/0.002654, allocations: 0.9844 kB / 452 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.002654, allocations: 0.7188 kB / 452 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.002658, allocations: 1.969 kB / 452 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.002659, allocations: 4.781 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00266, allocations: 0 / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.685e-05/0.002697, allocations: 61.7 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-06/0.002703, allocations: 5.578 kB / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.875e-06/0.002706, allocations: 0 / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-06/0.002712, allocations: 0 / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-06/0.002714, allocations: 4.656 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.841e-06/0.002719, allocations: 10.36 kB / 452.1 MB, free: 2.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002719, allocations: 0 / 452.1 MB, free: 2.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.436e-05/0.002804, allocations: 0 / 452.1 MB, free: 2.348 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.743e-05/0.002861, allocations: 80.36 kB / 452.2 MB, free: 2.258 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.266e-05/0.002904, allocations: 10.5 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.002907, allocations: 1.031 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-06/0.002916, allocations: 9.609 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.372e-05/0.00296, allocations: 12.94 kB / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.003221, allocations: 89.53 kB / 452.3 MB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.003249, allocations: 63.83 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.096e-05/0.00326, allocations: 0 / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.003285, allocations: 48 kB / 452.4 MB, free: 1.98 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.003286, allocations: 1.281 kB / 452.4 MB, free: 1.98 MB / 426.7 MB Notification: Performance of Templates: time 0.001224/0.00451, allocations: 215.1 kB / 452.6 MB, free: 1.773 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.472405350767076]