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.001767/0.001767, allocations: 88.72 kB / 19.44 MB, free: 356 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.002217/0.002217, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.288/1.288, allocations: 154.8 MB / 414.3 MB, free: 480 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.886e-06/2.886e-06, allocations: 0 / 0.5198 GB, free: 1.242 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.26e-05, allocations: 6.516 kB / 0.5198 GB, free: 1.238 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.004576/0.004608, allocations: 1.239 MB / 0.5211 GB, free: 28 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.009137, allocations: 1.574 MB / 0.5226 GB, free: 14.44 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.009302, allocations: 7.938 kB / 0.5226 GB, free: 14.43 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.009528, allocations: 32.56 kB / 0.5226 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.009837, allocations: 81.47 kB / 0.5227 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.0121, allocations: 0.4911 MB / 0.5232 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.01343, allocations: 0.6566 MB / 0.5238 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.01388, allocations: 110 kB / 0.5239 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007689/0.01465, allocations: 363.5 kB / 0.5243 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005551/0.01521, allocations: 200.3 kB / 0.5245 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.01539, allocations: 68 kB / 0.5245 GB, free: 12.45 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.01562, allocations: 73.44 kB / 0.5246 GB, free: 12.38 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.01579, allocations: 79.69 kB / 0.5247 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.01621, allocations: 195.6 kB / 0.5249 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.01773, allocations: 0.7634 MB / 0.5256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.01774, allocations: 0.7812 kB / 0.5256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.01774, allocations: 0 / 0.5256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.01775, allocations: 0.7812 kB / 0.5256 GB, free: 11.34 MB / 458.7 MB 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.00233/0.02008, allocations: 0.878 MB / 0.5265 GB, free: 10.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.02014, allocations: 12.03 kB / 0.5265 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.02043, allocations: 72.66 kB / 0.5266 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.02292, allocations: 414.8 kB / 0.527 GB, free: 9.867 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.02301, allocations: 33.83 kB / 0.527 GB, free: 9.836 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.02316, allocations: 40.38 kB / 0.527 GB, free: 9.797 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.02463, allocations: 454 kB / 0.5275 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.02464, allocations: 0.6875 kB / 0.5275 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.0247, allocations: 17.39 kB / 0.5275 GB, free: 9.305 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.02472, allocations: 8.125 kB / 0.5275 GB, free: 9.297 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.02612, allocations: 380.2 kB / 0.5278 GB, free: 8.898 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.02895, allocations: 0.7434 MB / 0.5286 GB, free: 8.125 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.03016, allocations: 480.9 kB / 0.529 GB, free: 7.617 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.03118, allocations: 390.7 kB / 0.5294 GB, free: 7.203 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.03121, allocations: 9.625 kB / 0.5294 GB, free: 7.195 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.03241, allocations: 449 kB / 0.5298 GB, free: 6.715 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 4.087e-06/0.03241, allocations: 0 / 0.5298 GB, free: 6.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.003397/0.03581, allocations: 1.127 MB / 0.5309 GB, free: 5.496 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.03603, allocations: 191.9 kB / 0.5311 GB, free: 5.266 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.03658, allocations: 280.5 kB / 0.5314 GB, free: 4.992 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.03674, allocations: 45.7 kB / 0.5314 GB, free: 4.941 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.03701, allocations: 168.8 kB / 0.5316 GB, free: 4.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.03722, allocations: 130.9 kB / 0.5317 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/0.03763, allocations: 138.9 kB / 0.5318 GB, free: 4.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003137/0.03794, allocations: 346.8 kB / 0.5322 GB, free: 4.152 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.0394, allocations: 0.5227 MB / 0.5327 GB, free: 3.578 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.04088, allocations: 0.6065 MB / 0.5333 GB, free: 2.883 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.04283, allocations: 0.9223 MB / 0.5342 GB, free: 1.852 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.04283, allocations: 0 / 0.5342 GB, free: 1.852 MB / 458.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002976/0.04581, allocations: 1.299 MB / 0.5355 GB, free: 448 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002769/0.04609, allocations: 259.2 kB / 0.5357 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.04611, allocations: 8.734 kB / 0.5357 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/0.04614, allocations: 4 kB / 0.5357 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.04655, allocations: 65.22 kB / 0.5358 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.04657, allocations: 7.984 kB / 0.5358 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.04759, allocations: 144.8 kB / 0.5359 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.04778, allocations: 67.92 kB / 0.536 GB, free: 15.84 MB / 474.7 MB 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.0004364/0.04822, allocations: 320.3 kB / 0.5363 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.04832, allocations: 55.77 kB / 0.5363 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.04843, allocations: 48.45 kB / 0.5364 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.04844, allocations: 4 kB / 0.5364 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.04844, allocations: 1.281 kB / 0.5364 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.04845, allocations: 3.984 kB / 0.5364 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.05059, allocations: 1.214 MB / 0.5376 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.05059, allocations: 8.609 kB / 0.5376 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.05086, allocations: 64.42 kB / 0.5377 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.05087, allocations: 5.5 kB / 0.5377 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.0509, allocations: 8 kB / 0.5377 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.05091, allocations: 4 kB / 0.5377 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.05091, allocations: 0 / 0.5377 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.05241, allocations: 0.9176 MB / 0.5386 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.05247, allocations: 36.83 kB / 0.5386 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.05252, allocations: 12 kB / 0.5386 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.05275, allocations: 30.41 kB / 0.5386 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.05287, allocations: 39.94 kB / 0.5387 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/0.05297, allocations: 47.94 kB / 0.5387 GB, free: 12.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.05324, allocations: 191.1 kB / 0.5389 GB, free: 12.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05324, allocations: 0 / 0.5389 GB, free: 12.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000577/0.05382, allocations: 111.9 kB / 0.539 GB, free: 12.54 MB / 474.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: 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.0002493/0.05406, allocations: 114.2 kB / 0.5391 GB, free: 12.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.05625, allocations: 1.436 MB / 0.5405 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.05625, allocations: 4 kB / 0.5405 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.05708, allocations: 0.6198 MB / 0.5411 GB, free: 10.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.05769, allocations: 103.5 kB / 0.5412 GB, free: 9.977 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.05938, allocations: 0.939 MB / 0.5421 GB, free: 8.977 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.05963, allocations: 191.4 kB / 0.5423 GB, free: 8.766 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002499/0.05988, allocations: 94.45 kB / 0.5424 GB, free: 8.684 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.05998, allocations: 37.25 kB / 0.5425 GB, free: 8.648 MB / 474.7 MB Notification: Performance of SimCode: time 1.312e-06/0.05998, allocations: 0 / 0.5425 GB, free: 8.648 MB / 474.7 MB Notification: Performance of Templates: time 0.01421/0.07418, allocations: 7.015 MB / 0.5493 GB, free: 1.898 MB / 474.7 MB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0535933040082455]