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.0009061/0.0009061, allocations: 92.22 kB / 19.65 MB, free: 280 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.001093/0.001093, allocations: 165 kB / 23.02 MB, free: 1.551 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.9769/0.9769, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.8062/0.8062, allocations: 154.8 MB / 414.7 MB, free: 488 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.794e-06/1.794e-06, allocations: 0.6562 kB / 0.5206 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.499e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001475/0.0015, allocations: 0.6539 MB / 0.5213 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.002327, allocations: 0.8715 MB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.002355, allocations: 0 / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.002382, allocations: 0 / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.899e-05/0.002441, allocations: 0 / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.002613, allocations: 21.2 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.073e-05/0.002674, allocations: 27.86 kB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.002758, allocations: 11.98 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.002819, allocations: 8.812 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.002849, allocations: 7.984 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.002863, allocations: 1.281 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.093e-05/0.002904, allocations: 4 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.00292, allocations: 8 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.002939, allocations: 7.922 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.003044, allocations: 25.31 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003046, allocations: 0 / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003047, allocations: 0 / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.003051, allocations: 0.7812 kB / 0.5222 GB, free: 264 kB / 490.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.0003164/0.003368, allocations: 356.6 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.003402, allocations: 9.812 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.659e-05/0.003489, allocations: 8.891 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.323e-05/0.003562, allocations: 112.6 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.003573, allocations: 4.312 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.003582, allocations: 384 / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.003688, allocations: 61.06 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.003696, allocations: 192 / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.003705, allocations: 384 / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.003712, allocations: 384 / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.003739, allocations: 7.938 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.003995, allocations: 249.3 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.004045, allocations: 31 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.004063, allocations: 11.75 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.00408, allocations: 4.906 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.004099, allocations: 33.39 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.0041, allocations: 0 / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.004239, allocations: 54.55 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.004265, allocations: 55.34 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.004329, allocations: 162.9 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.004338, allocations: 25.7 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.004378, allocations: 127.8 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.004395, allocations: 11.89 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.004421, allocations: 19.38 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.004523, allocations: 496.6 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.004536, allocations: 0.75 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.004545, allocations: 3.984 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.004574, allocations: 20.91 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.004576, allocations: 0 / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.032e-05/0.004626, allocations: 38.17 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.004637, allocations: 5.781 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.004642, allocations: 3.938 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.004655, allocations: 0 / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.004718, allocations: 7.984 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.004723, allocations: 5.719 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.004738, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.004742, allocations: 0 / 0.5241 GB, free: 14.17 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 5.95e-05/0.004802, allocations: 160.6 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.004816, allocations: 1.469 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.03e-05/0.004896, allocations: 48.94 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.004898, allocations: 0 / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.004901, allocations: 0 / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.004904, allocations: 0.75 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.799e-05/0.004992, allocations: 120.6 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004993, allocations: 1.219 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.005016, allocations: 11.94 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.005019, allocations: 3.984 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.005024, allocations: 2.75 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005026, allocations: 3.938 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005027, allocations: 0 / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.383e-05/0.005111, allocations: 187.9 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.005116, allocations: 0 / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.005128, allocations: 3.984 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/0.005159, allocations: 7.938 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.005192, allocations: 6.75 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.005194, allocations: 0 / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.15e-05/0.005226, allocations: 127.4 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005226, allocations: 0 / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001352/0.005361, allocations: 4 kB / 0.5247 GB, free: 13.43 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.652e-05/0.005428, allocations: 92.16 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.992e-05/0.005497, allocations: 19.62 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.005499, allocations: 1.312 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.005516, allocations: 15.69 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.005692, allocations: 7.859 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.006099, allocations: 126.3 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.006131, allocations: 56.02 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.646e-05/0.006148, allocations: 8.719 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.006173, allocations: 9.062 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/0.006174, allocations: 0 / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.001802/0.007976, allocations: 475.9 kB / 0.5255 GB, free: 12.59 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.9979002559557557]