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.001435/0.001435, allocations: 92.7 kB / 19.44 MB, free: 324 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.001576/0.001576, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-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 1.212/1.212, allocations: 154.8 MB / 414.3 MB, free: 476 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 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.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 3.777e-06/3.777e-06, allocations: 0 / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.076e-05/4.453e-05, allocations: 8.734 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002674/0.002719, allocations: 0.6442 MB / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.004414, allocations: 0.8452 MB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.004452, allocations: 0.6562 kB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.00448, allocations: 0.8438 kB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.004554, allocations: 7.938 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.004769, allocations: 20.88 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.00488, allocations: 23.92 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004984, allocations: 1.75 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.005076, allocations: 15.98 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.005123, allocations: 7.938 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.005143, allocations: 4 kB / 0.5215 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.906e-05/0.005192, allocations: 4 kB / 0.5215 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.005217, allocations: 8.531 kB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.00525, allocations: 8 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.005388, allocations: 29.47 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005391, allocations: 0 / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005392, allocations: 0 / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.778e-06/0.005397, allocations: 3.938 kB / 0.5215 GB, free: 0.625 MB / 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.0005878/0.005985, allocations: 255.4 kB / 0.5217 GB, free: 352 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.006036, allocations: 16.02 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.006168, allocations: 10.05 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.006315, allocations: 105.8 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.00633, allocations: 4.312 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.006344, allocations: 5 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.006585, allocations: 47.86 kB / 0.5219 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.006597, allocations: 4.188 kB / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.006608, allocations: 384 / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.006615, allocations: 384 / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.006882, allocations: 41.03 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.007339, allocations: 192.6 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.007542, allocations: 40.53 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.007731, allocations: 20.89 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.00776, allocations: 0.7188 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.007812, allocations: 38.56 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.007813, allocations: 0.625 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0004988/0.008312, allocations: 83.16 kB / 0.5223 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.008374, allocations: 59.34 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.00849, allocations: 98.61 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.008515, allocations: 25.7 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.008599, allocations: 83.33 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.008627, allocations: 15.94 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.008663, allocations: 9.719 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.008847, allocations: 314.8 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.008935, allocations: 15.98 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.009006, allocations: 11.98 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.009166, allocations: 42.25 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009168, allocations: 0 / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002152/0.009384, allocations: 76.12 kB / 0.523 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.009402, allocations: 6.656 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.00941, allocations: 3.938 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.009429, allocations: 0 / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.009538, allocations: 8.969 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.009545, allocations: 7.922 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.009595, allocations: 6.062 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.0096, allocations: 0 / 0.5231 GB, free: 14.86 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 9.109e-05/0.009691, allocations: 109.8 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.009715, allocations: 0 / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.009974, allocations: 82.39 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009977, allocations: 0 / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.00998, allocations: 0 / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.009983, allocations: 2.75 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.01014, allocations: 105.3 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.01014, allocations: 4 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.0102, allocations: 15.92 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.0102, allocations: 0 / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.01021, allocations: 0 / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01021, allocations: 3.938 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01022, allocations: 2.156 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.0105, allocations: 159.5 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.01051, allocations: 8 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.01053, allocations: 4.891 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.01061, allocations: 7.938 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.01065, allocations: 4.734 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.01065, allocations: 0 / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.0107, allocations: 79.28 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0107, allocations: 0.6562 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002213/0.01092, allocations: 11.31 kB / 0.5237 GB, free: 14.21 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 0.0001303/0.01105, allocations: 99.19 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.01126, allocations: 39.95 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01127, allocations: 0 / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.01134, allocations: 15.02 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.01165, allocations: 8 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.01197, allocations: 116.6 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.674e-05/0.01205, allocations: 63.34 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.01207, allocations: 3.938 kB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.01211, allocations: 10.25 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.01211, allocations: 3.938 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.002825/0.01493, allocations: 483 kB / 0.5245 GB, free: 13.36 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.751609390019439]