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.001033/0.001033, allocations: 80.94 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.001167/0.001167, allocations: 177 kB / 23.36 MB, free: 1.129 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.063/1.063, allocations: 177.2 MB / 203.8 MB, free: 5.418 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.7793/0.7793, allocations: 154.9 MB / 415.1 MB, free: 192 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.204e-06/2.204e-06, allocations: 0 / 480.4 MB, free: 6.426 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.48e-05, allocations: 3.156 kB / 480.4 MB, free: 6.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001876/0.001901, allocations: 0.6224 MB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 4.843e-05/0.001949, allocations: 8.641 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.001965, allocations: 0.6562 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.001986, allocations: 2.875 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.446e-05/0.002011, allocations: 0 / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.915e-05/0.00204, allocations: 0 / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.002088, allocations: 9.078 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.002128, allocations: 4 kB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.002161, allocations: 0 / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.141e-05/0.002182, allocations: 0 / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.002192, allocations: 0 / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-06/0.002197, allocations: 1.453 kB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.002208, allocations: 0 / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.002222, allocations: 5.781 kB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.336e-05/0.002275, allocations: 5.094 kB / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.002277, allocations: 0 / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.002278, allocations: 0 / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.002282, allocations: 0 / 481.1 MB, free: 5.809 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.0001852/0.002467, allocations: 213.4 kB / 481.3 MB, free: 5.574 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.002501, allocations: 12.03 kB / 481.3 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.002522, allocations: 1.531 kB / 481.3 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.915e-05/0.002581, allocations: 101.8 kB / 481.4 MB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.00259, allocations: 1.922 kB / 481.4 MB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.002596, allocations: 9.125 kB / 481.4 MB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.986e-05/0.002656, allocations: 30.27 kB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.002663, allocations: 0.7188 kB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-06/0.002667, allocations: 2 kB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.002673, allocations: 384 / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-06/0.002681, allocations: 3.938 kB / 481.5 MB, free: 5.391 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.004e-05/0.002751, allocations: 61.03 kB / 481.5 MB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.307e-05/0.002784, allocations: 15.48 kB / 481.5 MB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.002801, allocations: 17.44 kB / 481.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.002805, allocations: 0.5938 kB / 481.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.002826, allocations: 31.19 kB / 481.6 MB, free: 5.234 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 5.72e-07/0.002827, allocations: 4 kB / 481.6 MB, free: 5.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.559e-05/0.002902, allocations: 26.83 kB / 481.6 MB, free: 5.199 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.00293, allocations: 56.06 kB / 481.7 MB, free: 5.133 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.659e-05/0.002956, allocations: 91.05 kB / 481.8 MB, free: 5.035 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.002966, allocations: 25.7 kB / 481.8 MB, free: 5.004 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.002986, allocations: 80.14 kB / 481.9 MB, free: 4.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.00301, allocations: 4.281 kB / 481.9 MB, free: 4.922 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.003041, allocations: 17.7 kB / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.003121, allocations: 315.4 kB / 482.2 MB, free: 4.582 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-06/0.003128, allocations: 4.969 kB / 482.2 MB, free: 4.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.003134, allocations: 4 kB / 482.2 MB, free: 4.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.003157, allocations: 10.03 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003159, allocations: 0 / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.204e-05/0.003201, allocations: 29.7 kB / 482.3 MB, free: 4.527 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.003212, allocations: 9.688 kB / 482.3 MB, free: 4.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.003218, allocations: 3.984 kB / 482.3 MB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.003229, allocations: 1.438 kB / 482.3 MB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/0.003265, allocations: 0 / 482.3 MB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.003267, allocations: 0 / 482.3 MB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.003279, allocations: 4 kB / 482.3 MB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.003282, allocations: 9.484 kB / 482.3 MB, free: 4.504 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.156e-05/0.003334, allocations: 109.8 kB / 482.4 MB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-06/0.003338, allocations: 0.875 kB / 482.4 MB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.272e-05/0.003351, allocations: 9 kB / 482.4 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.003352, allocations: 1.062 kB / 482.4 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.003354, allocations: 4 kB / 482.4 MB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.003356, allocations: 0 / 482.4 MB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.083e-05/0.003407, allocations: 71 kB / 482.5 MB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.003408, allocations: 0 / 482.5 MB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.003415, allocations: 4.625 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.003416, allocations: 0.625 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-06/0.003419, allocations: 0 / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.003419, allocations: 1.688 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.00342, allocations: 0 / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.1e-05/0.003471, allocations: 58.52 kB / 482.5 MB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.003477, allocations: 3.984 kB / 482.5 MB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.003484, allocations: 4 kB / 482.5 MB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.52e-06/0.00349, allocations: 4.875 kB / 482.5 MB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.003499, allocations: 0 / 482.5 MB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-07/0.0035, allocations: 1.312 kB / 482.5 MB, free: 4.203 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.711e-06/0.003505, allocations: 8.859 kB / 482.6 MB, free: 4.191 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.003505, allocations: 0 / 482.6 MB, free: 4.191 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.00364, allocations: 0.7656 kB / 482.6 MB, free: 4.191 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 8.821e-05/0.003728, allocations: 77.86 kB / 482.6 MB, free: 4.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.303e-05/0.003771, allocations: 10.77 kB / 482.6 MB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.003773, allocations: 0 / 482.6 MB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-06/0.003782, allocations: 12.84 kB / 482.7 MB, free: 4.078 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.297e-05/0.003835, allocations: 3.938 kB / 482.7 MB, free: 4.074 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.004014, allocations: 89.77 kB / 482.7 MB, free: 3.965 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.815e-05/0.004042, allocations: 56.23 kB / 482.8 MB, free: 3.891 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.398e-06/0.004051, allocations: 0 / 482.8 MB, free: 3.891 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.004079, allocations: 47.38 kB / 482.8 MB, free: 3.844 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.004079, allocations: 0 / 482.8 MB, free: 3.844 MB / 442.7 MB Notification: Performance of Templates: time 0.001594/0.005673, allocations: 216 kB / 483.1 MB, free: 3.641 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 -s gbode -gbm=radauIIA3 -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.6608486040495336]