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.0009393/0.0009393, allocations: 80.75 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.00109/0.00109, allocations: 181 kB / 23.36 MB, free: 1.133 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.9985/0.9985, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8027/0.8027, allocations: 154.9 MB / 415.1 MB, free: 220 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.454e-06/2.454e-06, allocations: 0 / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.706e-05, allocations: 3.422 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001802/0.001829, allocations: 0.5822 MB / 481 MB, free: 5.926 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.523e-05/0.001885, allocations: 4 kB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.001902, allocations: 0.875 kB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.001928, allocations: 1.094 kB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.633e-05/0.001954, allocations: 0.5 kB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.387e-05/0.001988, allocations: 0 / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.002045, allocations: 4.766 kB / 481 MB, free: 5.918 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.002092, allocations: 12.98 kB / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.002127, allocations: 1.875 kB / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.406e-05/0.002151, allocations: 0 / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.002166, allocations: 0 / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.002171, allocations: 1.969 kB / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.002183, allocations: 0 / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.002196, allocations: 0.5469 kB / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.721e-05/0.002253, allocations: 4 kB / 481 MB, free: 5.902 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.002257, allocations: 5.094 kB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.002257, allocations: 1.312 kB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.002263, allocations: 0 / 481 MB, free: 5.898 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.0001952/0.002458, allocations: 208.7 kB / 481.2 MB, free: 5.668 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.002493, allocations: 12.67 kB / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.002515, allocations: 0.9375 kB / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.562e-05/0.00258, allocations: 107 kB / 481.3 MB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.002591, allocations: 384 / 481.3 MB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.002599, allocations: 384 / 481.3 MB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.445e-05/0.002664, allocations: 31.33 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.002671, allocations: 0.7344 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.002677, allocations: 384 / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.002683, allocations: 1.531 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-06/0.002692, allocations: 3.938 kB / 481.4 MB, free: 5.488 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.723e-05/0.002769, allocations: 65.03 kB / 481.4 MB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.49e-05/0.002804, allocations: 19.89 kB / 481.5 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.002824, allocations: 18.38 kB / 481.5 MB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.002829, allocations: 0 / 481.5 MB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.002849, allocations: 30.56 kB / 481.5 MB, free: 5.324 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.00285, allocations: 0 / 481.5 MB, free: 5.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.273e-05/0.002933, allocations: 35.77 kB / 481.5 MB, free: 5.285 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.002964, allocations: 52.06 kB / 481.6 MB, free: 5.223 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.009e-05/0.002994, allocations: 93.86 kB / 481.7 MB, free: 5.121 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.003005, allocations: 25.7 kB / 481.7 MB, free: 5.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.003027, allocations: 80.14 kB / 481.8 MB, free: 5.008 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.003053, allocations: 3.781 kB / 481.8 MB, free: 5.008 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.003079, allocations: 14.78 kB / 481.8 MB, free: 4.988 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.003167, allocations: 319.3 kB / 482.1 MB, free: 4.668 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-06/0.003172, allocations: 0 / 482.1 MB, free: 4.668 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-06/0.003177, allocations: 0.625 kB / 482.1 MB, free: 4.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.003204, allocations: 11.02 kB / 482.1 MB, free: 4.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.003206, allocations: 0 / 482.1 MB, free: 4.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.371e-05/0.00325, allocations: 34.73 kB / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.003261, allocations: 4 kB / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.003266, allocations: 0 / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.003279, allocations: 5.438 kB / 482.2 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-05/0.00332, allocations: 0 / 482.2 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.003324, allocations: 3.984 kB / 482.2 MB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-06/0.003334, allocations: 0 / 482.2 MB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.003337, allocations: 0.6562 kB / 482.2 MB, free: 4.605 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 5.643e-05/0.003393, allocations: 119.1 kB / 482.3 MB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-06/0.003398, allocations: 0 / 482.3 MB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.003412, allocations: 6.891 kB / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.003413, allocations: 0 / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.003415, allocations: 0.6562 kB / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003418, allocations: 0.5938 kB / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.402e-05/0.003472, allocations: 69.83 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.003472, allocations: 0.625 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-06/0.00348, allocations: 0.875 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.003482, allocations: 4.609 kB / 482.4 MB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.003487, allocations: 4.625 kB / 482.4 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.003487, allocations: 0 / 482.4 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.003488, allocations: 0.625 kB / 482.4 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.31e-05/0.003541, allocations: 57.64 kB / 482.4 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/0.003547, allocations: 4 kB / 482.4 MB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-06/0.003554, allocations: 4.031 kB / 482.4 MB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.003561, allocations: 4.75 kB / 482.5 MB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-06/0.00357, allocations: 1.719 kB / 482.5 MB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.003573, allocations: 4 kB / 482.5 MB, free: 4.297 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.104e-06/0.003581, allocations: 4.859 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003581, allocations: 0 / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.003737, allocations: 4 kB / 482.5 MB, free: 4.285 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 7.858e-05/0.003816, allocations: 78.33 kB / 482.5 MB, free: 4.199 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.689e-05/0.003863, allocations: 9.625 kB / 482.6 MB, free: 4.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.003865, allocations: 0.5312 kB / 482.6 MB, free: 4.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.003874, allocations: 14.08 kB / 482.6 MB, free: 4.172 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.791e-05/0.003932, allocations: 3.938 kB / 482.6 MB, free: 4.168 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.004152, allocations: 88.78 kB / 482.7 MB, free: 4.055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.004188, allocations: 52.61 kB / 482.7 MB, free: 3.984 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.313e-05/0.004201, allocations: 4 kB / 482.7 MB, free: 3.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.004235, allocations: 52.14 kB / 482.8 MB, free: 3.93 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.004235, allocations: 1.594 kB / 482.8 MB, free: 3.93 MB / 442.7 MB Notification: Performance of Templates: time 0.001565/0.0058, allocations: 206.5 kB / 483 MB, free: 3.73 MB / 442.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.6372582758776844]