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.000741/0.000741, allocations: 76.45 kB / 19.91 MB, free: 16 kB / 13.93 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.0007936/0.0007936, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8239/0.8239, allocations: 177.2 MB / 203.6 MB, free: 5.758 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-531:190: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-531:198: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.6872/0.6872, allocations: 154.9 MB / 414.9 MB, free: 0.4922 MB / 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009203/0.0009203, allocations: 75.88 kB / 0.6199 GB, free: 12.69 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4193, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001168/0.4204, allocations: 0.5704 MB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.823e-05/0.4205, allocations: 0.6094 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.4205, allocations: 1.5 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.4205, allocations: 3.938 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.377e-05/0.4205, allocations: 3.984 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 2.975e-05/0.4206, allocations: 0 / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.4206, allocations: 1.656 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.369e-05/0.4207, allocations: 1.828 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.4207, allocations: 1.703 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.814e-05/0.4207, allocations: 1.312 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.4207, allocations: 0 / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-06/0.4208, allocations: 4 kB / 0.7201 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.4208, allocations: 4 kB / 0.7201 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.4208, allocations: 1.125 kB / 0.7201 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.689e-05/0.4208, allocations: 6.375 kB / 0.7201 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4208, allocations: 0 / 0.7201 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4208, allocations: 0 / 0.7201 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4209, allocations: 1.031 kB / 0.7201 GB, free: 23.11 MB / 0.6355 GB 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.0001802/0.421, allocations: 234.9 kB / 0.7203 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4211, allocations: 10.92 kB / 0.7203 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.4211, allocations: 2.219 kB / 0.7203 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.041e-05/0.4211, allocations: 104.5 kB / 0.7204 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4211, allocations: 8.375 kB / 0.7205 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.4212, allocations: 5.953 kB / 0.7205 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.692e-05/0.4212, allocations: 31.86 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4212, allocations: 1.156 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.4213, allocations: 3.938 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4213, allocations: 4.984 kB / 0.7205 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.658e-05/0.4213, allocations: 1.906 kB / 0.7205 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.393e-05/0.4213, allocations: 99.45 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.225e-05/0.4214, allocations: 16.98 kB / 0.7206 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.4214, allocations: 15.86 kB / 0.7206 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.4214, allocations: 0.6562 kB / 0.7206 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.4214, allocations: 35.56 kB / 0.7207 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.4214, allocations: 1.219 kB / 0.7207 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001063/0.4215, allocations: 39.67 kB / 0.7207 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.4215, allocations: 51.41 kB / 0.7208 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.101e-05/0.4216, allocations: 91.14 kB / 0.7208 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/0.4216, allocations: 26.27 kB / 0.7209 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-06/0.4216, allocations: 80.14 kB / 0.7209 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.4216, allocations: 5.156 kB / 0.7209 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.4216, allocations: 16.64 kB / 0.721 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.22e-05/0.4216, allocations: 312.5 kB / 0.7213 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.4216, allocations: 0.6562 kB / 0.7213 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.4216, allocations: 5.125 kB / 0.7213 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.4217, allocations: 9.203 kB / 0.7213 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4217, allocations: 3.938 kB / 0.7213 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.698e-05/0.4217, allocations: 35.2 kB / 0.7213 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4217, allocations: 6.312 kB / 0.7213 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4217, allocations: 0 / 0.7213 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4217, allocations: 4.609 kB / 0.7213 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.4218, allocations: 6.156 kB / 0.7213 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4218, allocations: 0.6094 kB / 0.7213 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/0.4218, allocations: 1.094 kB / 0.7213 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.4218, allocations: 0 / 0.7213 GB, free: 21.76 MB / 0.6355 GB 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.561e-05/0.4219, allocations: 109.7 kB / 0.7214 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-06/0.4219, allocations: 0.6562 kB / 0.7214 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.658e-05/0.4219, allocations: 8.969 kB / 0.7214 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4219, allocations: 7.875 kB / 0.7215 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4219, allocations: 0 / 0.7215 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4219, allocations: 6.359 kB / 0.7215 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.921e-05/0.4219, allocations: 97.88 kB / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4219, allocations: 1.938 kB / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-06/0.4219, allocations: 1.688 kB / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4219, allocations: 0.7031 kB / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.4219, allocations: 7.938 kB / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4219, allocations: 1.938 kB / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4219, allocations: 4.453 kB / 0.7216 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.713e-05/0.422, allocations: 53.12 kB / 0.7216 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-06/0.422, allocations: 6.078 kB / 0.7216 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.422, allocations: 4.031 kB / 0.7216 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-06/0.422, allocations: 1.531 kB / 0.7216 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.422, allocations: 8.453 kB / 0.7216 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.422, allocations: 2.141 kB / 0.7216 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.298e-06/0.422, allocations: 75.28 kB / 0.7217 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.422, allocations: 0 / 0.7217 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001116/0.4221, allocations: 5.375 kB / 0.7217 GB, free: 21.34 MB / 0.6355 GB 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.388e-05/0.4222, allocations: 93.84 kB / 0.7218 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.481e-05/0.4223, allocations: 4.281 kB / 0.7218 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4223, allocations: 4.062 kB / 0.7218 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-06/0.4223, allocations: 2.062 kB / 0.7218 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.4224, allocations: 4.562 kB / 0.7218 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.4227, allocations: 119.6 kB / 0.7219 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.4227, allocations: 55.66 kB / 0.722 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.4227, allocations: 8.5 kB / 0.722 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4227, allocations: 0 / 0.722 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of Templates: time 0.001343/0.4241, allocations: 347.1 kB / 0.7223 GB, free: 21.01 MB / 0.6355 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.10253706201911] Failed to read output from testmodel.py, exit status != 0: 0.42893479904159904 0.43617160099999996 0.013771370000000002 Calling exit ...