Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.000956/0.000956, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.0009662/0.0009662, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.9575/0.9575, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7362/0.7362, allocations: 154.9 MB / 415.1 MB, free: 244 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.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.24e-05, allocations: 2.859 kB / 0.5212 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001057/0.00107, allocations: 0.6937 MB / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000659/0.001729, allocations: 0.8478 MB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.00176, allocations: 1.031 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.001781, allocations: 3.938 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.001841, allocations: 9.094 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 4.532e-05/0.001887, allocations: 11.98 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.001945, allocations: 43.86 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.002016, allocations: 8.609 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.002089, allocations: 27.92 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/0.002118, allocations: 17.59 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002133, allocations: 7.984 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-06/0.002138, allocations: 4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.002152, allocations: 4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.002171, allocations: 16.92 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 5.864e-05/0.00223, allocations: 27.91 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002232, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.21e-07/0.002232, allocations: 0.9062 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.806e-06/0.002235, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002896/0.002525, allocations: 377.8 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.002556, allocations: 8.031 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.002577, allocations: 8.891 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.679e-05/0.002644, allocations: 121.2 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.002652, allocations: 384 / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.00266, allocations: 8.906 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.002761, allocations: 59.78 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.002767, allocations: 192 / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.002772, allocations: 1 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.002777, allocations: 384 / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.002798, allocations: 12.42 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.002988, allocations: 257.2 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.684e-05/0.003035, allocations: 30.09 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.003051, allocations: 11.69 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.003057, allocations: 0 / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.003074, allocations: 33.39 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.003075, allocations: 4 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 9.88e-05/0.003174, allocations: 49.66 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.003197, allocations: 55.41 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/0.003262, allocations: 165.9 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.003271, allocations: 26.7 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.003315, allocations: 138.8 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.003333, allocations: 11.95 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.003356, allocations: 15.91 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.003459, allocations: 0.4889 MB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.003472, allocations: 7.984 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.003482, allocations: 4.938 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.003506, allocations: 19.95 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.003507, allocations: 1.562 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.368e-05/0.003561, allocations: 49.58 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.00357, allocations: 4 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.003573, allocations: 0 / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.003584, allocations: 4.906 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.003637, allocations: 8 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.003639, allocations: 0 / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.003662, allocations: 10.11 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.003667, allocations: 4 kB / 0.5248 GB, free: 13.59 MB / 0.4948 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 (3): * Single equations (assignments): 3 * 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.413e-05/0.003721, allocations: 156.6 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.003734, allocations: 4 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.003752, allocations: 8.719 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.003755, allocations: 3.938 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.003756, allocations: 0.75 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.00376, allocations: 3.984 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.694e-05/0.003846, allocations: 106.2 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.003847, allocations: 0 / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.003871, allocations: 15.92 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.003873, allocations: 1.438 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.003876, allocations: 0 / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.003877, allocations: 0 / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.003878, allocations: 1.344 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.819e-05/0.003976, allocations: 195.9 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-06/0.003982, allocations: 7.938 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-06/0.003988, allocations: 0 / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.004023, allocations: 10.73 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.004046, allocations: 3.938 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.004049, allocations: 4 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.004079, allocations: 131.2 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004079, allocations: 0 / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001265/0.004205, allocations: 8 kB / 0.5254 GB, free: 12.89 MB / 0.4948 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 (3): * Single equations (assignments): 3 * 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.701e-05/0.004262, allocations: 93.56 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.547e-05/0.004318, allocations: 23.61 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.004319, allocations: 0 / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.004335, allocations: 11.69 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.004491, allocations: 12.73 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.004687, allocations: 135 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.931e-05/0.004716, allocations: 59.84 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.009e-05/0.004736, allocations: 8.094 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.004782, allocations: 70.2 kB / 0.5258 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.004782, allocations: 3.938 kB / 0.5258 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.001836/0.006618, allocations: 0.7995 MB / 0.5266 GB, free: 11.66 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.383368437178433]