Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0009745/0.0009745, 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.0009988/0.0009988, 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 1.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8299/0.8299, 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.508e-05, allocations: 3.297 kB / 480.5 MB, free: 6.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00174/0.001765, allocations: 0.712 MB / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.002616, allocations: 0.858 MB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.002654, allocations: 0.625 kB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.002683, allocations: 3.938 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.002752, allocations: 7.016 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.00291, allocations: 12.58 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.002984, allocations: 34.45 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.871e-05/0.003063, allocations: 0 / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.003144, allocations: 21.3 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.00318, allocations: 5.297 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.003195, allocations: 4 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.6e-05/0.003251, allocations: 4 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.00327, allocations: 5.203 kB / 482.1 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.003285, allocations: 5.891 kB / 482.2 MB, free: 4.789 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.999e-05/0.003375, allocations: 28.44 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003377, allocations: 1.078 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.003378, allocations: 0 / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.003384, allocations: 5.344 kB / 482.2 MB, free: 4.758 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002707/0.003655, allocations: 228.7 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.003686, allocations: 9.016 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.00377, allocations: 6.031 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.003847, allocations: 121.7 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.003855, allocations: 1.562 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.003861, allocations: 4.375 kB / 482.5 MB, free: 4.352 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.43e-05/0.003945, allocations: 50.95 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003952, allocations: 1.094 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.003958, allocations: 384 / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.003964, allocations: 1.125 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.003984, allocations: 12.86 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.004429, allocations: 144.9 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.248e-05/0.004471, allocations: 19.89 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.201e-05/0.004483, allocations: 8.922 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.004496, allocations: 0 / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.004519, allocations: 34.59 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.00452, allocations: 0.5312 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.643e-05/0.004617, allocations: 38.8 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.004642, allocations: 55.34 kB / 482.9 MB, free: 3.934 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.004691, allocations: 112.6 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.004701, allocations: 29.7 kB / 483 MB, free: 3.777 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.004726, allocations: 84.14 kB / 483.1 MB, free: 3.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.004743, allocations: 8.922 kB / 483.1 MB, free: 3.684 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.004766, allocations: 13.72 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.004837, allocations: 318.8 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.004846, allocations: 5.438 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-06/0.004853, allocations: 0 / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/0.004873, allocations: 14.12 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004875, allocations: 0 / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.065e-05/0.004916, allocations: 39.12 kB / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.004927, allocations: 4 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.004931, allocations: 0 / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.004942, allocations: 4.766 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.004997, allocations: 8.781 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.004999, allocations: 0 / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.005016, allocations: 8.766 kB / 483.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.005019, allocations: 0 / 483.5 MB, free: 3.258 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 (2): * Single equations (assignments): 2 * 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 4.511e-05/0.005065, allocations: 110.7 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.005078, allocations: 0 / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.00514, allocations: 50.44 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.005142, allocations: 0 / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.005145, allocations: 5.969 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.005148, allocations: 0 / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.426e-05/0.005222, allocations: 70.52 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005223, allocations: 0 / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.005243, allocations: 8.625 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005245, allocations: 0.625 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.005249, allocations: 0 / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005249, allocations: 0.625 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00525, allocations: 0.625 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.148e-05/0.005312, allocations: 144.9 kB / 483.9 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-06/0.005318, allocations: 7.953 kB / 483.9 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.005327, allocations: 4.531 kB / 483.9 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.00536, allocations: 7.984 kB / 483.9 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.005384, allocations: 1.438 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.005386, allocations: 0 / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.17e-05/0.005398, allocations: 14.3 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005398, allocations: 1.094 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000113/0.005511, allocations: 4.938 kB / 484 MB, free: 2.797 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 (2): * Single equations (assignments): 2 * 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.682e-05/0.005587, allocations: 81.5 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.042e-05/0.005638, allocations: 9.703 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.00564, allocations: 4 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.005653, allocations: 9.391 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.005782, allocations: 5.844 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.006128, allocations: 113.4 kB / 484.2 MB, free: 2.539 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.006161, allocations: 57.48 kB / 484.2 MB, free: 2.465 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.552e-05/0.006176, allocations: 0 / 484.2 MB, free: 2.465 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.006216, allocations: 52.03 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006217, allocations: 0 / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of Templates: time 0.001781/0.007998, allocations: 453.2 kB / 484.7 MB, free: 1.996 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6713734520599246]