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.00128/0.00128, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001453/0.001453, allocations: 164 kB / 22.46 MB, free: 5.375 MB / 14.72 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 1.218/1.218, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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 178] 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 3.386e-06/3.386e-06, allocations: 0 / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.542e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002079/0.002114, allocations: 0.5599 MB / 0.6191 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.776e-05/0.002162, allocations: 7.984 kB / 0.6191 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.002182, allocations: 0.9688 kB / 0.6191 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.002216, allocations: 0 / 0.6191 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.694e-05/0.002243, allocations: 3.938 kB / 0.6191 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.691e-05/0.00228, allocations: 2.344 kB / 0.6191 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.303e-05/0.002343, allocations: 0 / 0.6191 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.002406, allocations: 4 kB / 0.6191 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.00244, allocations: 3.984 kB / 0.6191 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.919e-05/0.002459, allocations: 0 / 0.6191 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.002481, allocations: 3.938 kB / 0.6191 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.002485, allocations: 4 kB / 0.6191 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.002497, allocations: 3.938 kB / 0.6191 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.002517, allocations: 0 / 0.6191 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.889e-05/0.002585, allocations: 8 kB / 0.6192 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.002588, allocations: 0 / 0.6192 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002589, allocations: 0 / 0.6192 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.0026, allocations: 0 / 0.6192 GB, free: 4.008 MB / 0.5294 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.000361/0.002961, allocations: 242.4 kB / 0.6194 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.003007, allocations: 9.469 kB / 0.6194 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.003036, allocations: 0.9375 kB / 0.6194 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.003151, allocations: 101.8 kB / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.003159, allocations: 8.375 kB / 0.6195 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.003172, allocations: 384 / 0.6195 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.003275, allocations: 34.27 kB / 0.6195 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.003285, allocations: 192 / 0.6195 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.003293, allocations: 384 / 0.6195 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003298, allocations: 4.375 kB / 0.6195 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.003324, allocations: 11.86 kB / 0.6195 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.003485, allocations: 101.2 kB / 0.6196 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.003539, allocations: 18.61 kB / 0.6197 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.003561, allocations: 4.859 kB / 0.6197 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.003569, allocations: 8.062 kB / 0.6197 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.003594, allocations: 34.56 kB / 0.6197 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.003595, allocations: 0 / 0.6197 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001178/0.003713, allocations: 33.64 kB / 0.6197 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.003752, allocations: 51.41 kB / 0.6198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.003798, allocations: 93.84 kB / 0.6199 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.003813, allocations: 25.7 kB / 0.6199 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.003843, allocations: 84.14 kB / 0.62 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.003872, allocations: 0 / 0.62 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.003898, allocations: 9.844 kB / 0.62 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.004037, allocations: 326.8 kB / 0.6203 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.004045, allocations: 0 / 0.6203 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-06/0.004049, allocations: 0 / 0.6203 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.004074, allocations: 8.859 kB / 0.6203 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004076, allocations: 0 / 0.6203 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.891e-05/0.004125, allocations: 33.64 kB / 0.6203 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.004139, allocations: 7.984 kB / 0.6203 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.004152, allocations: 4 kB / 0.6204 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.004169, allocations: 0 / 0.6204 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.306e-05/0.004222, allocations: 4.094 kB / 0.6204 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.004226, allocations: 3.938 kB / 0.6204 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.004237, allocations: 3.938 kB / 0.6204 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.004244, allocations: 3.984 kB / 0.6204 GB, free: 2.586 MB / 0.5294 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 7.392e-05/0.004318, allocations: 114.8 kB / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.004323, allocations: 0 / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.004339, allocations: 6.953 kB / 0.6205 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.00434, allocations: 0 / 0.6205 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.004344, allocations: 0 / 0.6205 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.004346, allocations: 0 / 0.6205 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.229e-05/0.004418, allocations: 109.2 kB / 0.6206 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.004419, allocations: 0 / 0.6206 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-06/0.004428, allocations: 0 / 0.6206 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004429, allocations: 0 / 0.6206 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.004436, allocations: 7.938 kB / 0.6206 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.004437, allocations: 0 / 0.6206 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004437, allocations: 0 / 0.6206 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.152e-05/0.004509, allocations: 61.02 kB / 0.6207 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.004518, allocations: 7.984 kB / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-06/0.004527, allocations: 3.984 kB / 0.6207 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.004535, allocations: 4 kB / 0.6207 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.004549, allocations: 4.031 kB / 0.6207 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-06/0.00455, allocations: 0 / 0.6207 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.00458, allocations: 75.28 kB / 0.6207 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.00458, allocations: 4 kB / 0.6207 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000171/0.004751, allocations: 0 / 0.6207 GB, free: 2.137 MB / 0.5294 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.605e-05/0.004847, allocations: 95.19 kB / 0.6208 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.037e-05/0.004907, allocations: 4 kB / 0.6208 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.004909, allocations: 0 / 0.6208 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.004921, allocations: 19.98 kB / 0.6209 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.005041, allocations: 0 / 0.6209 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.005262, allocations: 80.25 kB / 0.6209 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.519e-05/0.005307, allocations: 55.36 kB / 0.621 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.468e-06/0.005316, allocations: 0 / 0.621 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.005334, allocations: 8.5 kB / 0.621 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.005334, allocations: 0 / 0.621 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of Templates: time 0.002118/0.007453, allocations: 185.9 kB / 0.6212 GB, free: 1.648 MB / 0.5294 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.702978830784559] Failed to read output from testmodel.py, exit status != 0: 0.01674208790063858 0.030115406 0.024591615 Calling exit ...