Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.002405/0.002405, allocations: 85.48 kB / 19.44 MB, free: 344 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.00322/0.00322, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.295/1.295, allocations: 154.8 MB / 414.4 MB, free: 468 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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.5199 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.438e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003492/0.003526, allocations: 1.279 MB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.00639, allocations: 1.59 MB / 0.5227 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.006508, allocations: 5 kB / 0.5227 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.006666, allocations: 35.53 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.006835, allocations: 76.47 kB / 0.5228 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.007986, allocations: 493.5 kB / 0.5232 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008123/0.008798, allocations: 0.6597 MB / 0.5239 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.009115, allocations: 113.3 kB / 0.524 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008512/0.009967, allocations: 364.4 kB / 0.5243 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.0103, allocations: 195.5 kB / 0.5245 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.01042, allocations: 70.12 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.01059, allocations: 72 kB / 0.5247 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.01071, allocations: 87.66 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.01102, allocations: 187.6 kB / 0.5249 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009883/0.012, allocations: 0.7672 MB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01201, allocations: 0 / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01201, allocations: 0.7812 kB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.01202, allocations: 0 / 0.5257 GB, free: 12.35 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001501/0.01352, allocations: 0.9715 MB / 0.5266 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.01356, allocations: 12.94 kB / 0.5266 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.01374, allocations: 72.66 kB / 0.5267 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.01495, allocations: 385.8 kB / 0.5271 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.015, allocations: 32.86 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.01509, allocations: 37.16 kB / 0.5271 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.01582, allocations: 416.2 kB / 0.5275 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01584, allocations: 192 / 0.5275 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.01587, allocations: 12.38 kB / 0.5275 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.01588, allocations: 8.125 kB / 0.5276 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.01651, allocations: 334.4 kB / 0.5279 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.01823, allocations: 0.8203 MB / 0.5287 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.01887, allocations: 375.4 kB / 0.529 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.01935, allocations: 321.2 kB / 0.5293 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.01938, allocations: 4.906 kB / 0.5293 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006554/0.02003, allocations: 417.3 kB / 0.5297 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 2.574e-06/0.02004, allocations: 1.219 kB / 0.5297 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.00165/0.02169, allocations: 0.9662 MB / 0.5307 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000435/0.02212, allocations: 197.5 kB / 0.5309 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.02259, allocations: 386.2 kB / 0.5312 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/0.02266, allocations: 41.7 kB / 0.5313 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.02289, allocations: 227.6 kB / 0.5315 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.02305, allocations: 147.9 kB / 0.5316 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.02333, allocations: 151.8 kB / 0.5318 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003387/0.02367, allocations: 0.5391 MB / 0.5323 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/0.02445, allocations: 0.5074 MB / 0.5328 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.02535, allocations: 0.6302 MB / 0.5334 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.02658, allocations: 0.8467 MB / 0.5343 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.02658, allocations: 0 / 0.5343 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00198/0.02856, allocations: 1.236 MB / 0.5355 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.02882, allocations: 269.7 kB / 0.5357 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.02883, allocations: 0 / 0.5357 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.02885, allocations: 6.75 kB / 0.5357 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.02912, allocations: 59.84 kB / 0.5358 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.02913, allocations: 4 kB / 0.5358 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.02975, allocations: 121.9 kB / 0.5359 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.02988, allocations: 67.91 kB / 0.536 GB, free: 0.8789 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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 0.000382/0.03026, allocations: 349 kB / 0.5363 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.927e-05/0.03036, allocations: 61.95 kB / 0.5364 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.03047, allocations: 47.3 kB / 0.5364 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.03047, allocations: 4 kB / 0.5364 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.03048, allocations: 4 kB / 0.5364 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.03049, allocations: 3.984 kB / 0.5364 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.03275, allocations: 1.206 MB / 0.5376 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03275, allocations: 0 / 0.5376 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.03296, allocations: 55.89 kB / 0.5376 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.03297, allocations: 5.125 kB / 0.5376 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.033, allocations: 12 kB / 0.5377 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.03301, allocations: 4 kB / 0.5377 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.03301, allocations: 0.9062 kB / 0.5377 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.03428, allocations: 0.8776 MB / 0.5385 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.03434, allocations: 35.64 kB / 0.5386 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.03439, allocations: 12.73 kB / 0.5386 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.03457, allocations: 25.39 kB / 0.5386 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.03469, allocations: 35.94 kB / 0.5386 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.03477, allocations: 47.94 kB / 0.5387 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000264/0.03503, allocations: 247 kB / 0.5389 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.03503, allocations: 2.656 kB / 0.5389 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004446/0.03548, allocations: 111.9 kB / 0.539 GB, free: 13.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002242/0.0357, allocations: 112.1 kB / 0.5391 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.0376, allocations: 1.456 MB / 0.5405 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0376, allocations: 0 / 0.5405 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007324/0.03834, allocations: 0.6036 MB / 0.5411 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.03894, allocations: 100.2 kB / 0.5412 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.04052, allocations: 0.8937 MB / 0.5421 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.04074, allocations: 184.2 kB / 0.5423 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.04095, allocations: 80.14 kB / 0.5424 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.04104, allocations: 36.5 kB / 0.5424 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of SimCode: time 7.81e-07/0.04104, allocations: 0 / 0.5424 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of Templates: time 0.01523/0.05627, allocations: 6.995 MB / 0.5492 GB, free: 2.984 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.16776631900575]