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.001108/0.001108, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000875/0.000875, allocations: 169 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.8916/0.8916, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7356/0.7356, 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 1.262e-06/1.262e-06, allocations: 0 / 0.5212 GB, free: 1.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.251e-05, allocations: 4.141 kB / 0.5212 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001022/0.001035, allocations: 0.6542 MB / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006659/0.0017, allocations: 0.8653 MB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.001729, allocations: 0 / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.001751, allocations: 3.938 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.001806, allocations: 9.172 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.001937, allocations: 11.94 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.001988, allocations: 19.92 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.608e-05/0.002054, allocations: 8.5 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.937e-05/0.002113, allocations: 17 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.864e-05/0.002142, allocations: 11.92 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.002152, allocations: 0 / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.738e-05/0.00219, allocations: 9.125 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.002202, allocations: 7.938 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.091e-05/0.002212, allocations: 4 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 6.451e-05/0.002277, allocations: 24.52 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.002278, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.61e-07/0.002279, allocations: 5.656 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.464e-06/0.002281, allocations: 0 / 0.5228 GB, free: 15.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002525/0.002534, allocations: 356.6 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.002564, allocations: 8.031 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.00263, allocations: 10.7 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.912e-05/0.002689, allocations: 112.6 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.002698, allocations: 4.375 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-06/0.002702, allocations: 384 / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.00278, allocations: 56.64 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.002786, allocations: 192 / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.002791, allocations: 384 / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.002795, allocations: 384 / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.002814, allocations: 15.86 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.002994, allocations: 229.2 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/0.003033, allocations: 32.45 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.07e-05/0.003043, allocations: 7.688 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.003059, allocations: 4.062 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.003077, allocations: 38.67 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.003078, allocations: 0 / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 9.424e-05/0.003172, allocations: 49.58 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.003192, allocations: 52.78 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.003242, allocations: 153.9 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.00325, allocations: 29.7 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.003291, allocations: 130.9 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.003303, allocations: 10.52 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.003326, allocations: 27.36 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.003415, allocations: 492.1 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.003422, allocations: 0 / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.003429, allocations: 4.016 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.864e-05/0.003448, allocations: 15.62 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.003449, allocations: 0.5625 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.751e-05/0.003486, allocations: 38.66 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.003496, allocations: 4 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.003499, allocations: 1.562 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.00351, allocations: 3.938 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.003555, allocations: 11.94 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.003557, allocations: 0 / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.003572, allocations: 4.922 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-06/0.003575, allocations: 0 / 0.5246 GB, free: 13.74 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 (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.59e-05/0.003621, allocations: 162 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.003632, allocations: 0 / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.003687, allocations: 44.94 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.003689, allocations: 5.094 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.00369, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.003692, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.451e-05/0.003787, allocations: 101.2 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.003787, allocations: 3.25 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.003806, allocations: 11.98 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.003807, allocations: 0 / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.00381, allocations: 0 / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003811, allocations: 0 / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.003811, allocations: 0 / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.272e-05/0.003884, allocations: 195.8 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.003888, allocations: 4 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-06/0.003895, allocations: 6.844 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.003925, allocations: 8 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.003946, allocations: 3.984 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.003948, allocations: 3.938 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.003975, allocations: 123.2 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003975, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001286/0.004103, allocations: 4 kB / 0.5253 GB, free: 13.02 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 (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 6.023e-05/0.004164, allocations: 92.75 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.878e-05/0.004212, allocations: 15.67 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.004213, allocations: 0.5 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.004228, allocations: 17.81 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.004385, allocations: 8 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.004674, allocations: 124.2 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.812e-05/0.004702, allocations: 59.28 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.24e-05/0.004715, allocations: 0 / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.004752, allocations: 74.2 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of SimCode: time 2.9e-07/0.004752, allocations: 0 / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.001559/0.006311, allocations: 0.5106 MB / 0.5262 GB, free: 12.09 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3551023988984525]