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.001047/0.001047, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00164/0.00164, allocations: 177 kB / 23.36 MB, free: 1.133 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.9238/0.9238, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.7941/0.7941, allocations: 154.9 MB / 415.1 MB, free: 280 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.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.234e-06/2.234e-06, allocations: 0 / 480.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.443e-05, allocations: 3.875 kB / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001971/0.001995, allocations: 1.252 MB / 481.6 MB, free: 5.359 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.003812, allocations: 1.628 MB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.003934, allocations: 9.438 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.004077, allocations: 32.92 kB / 483.3 MB, free: 3.688 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.004219, allocations: 82 kB / 483.4 MB, free: 3.621 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.005095, allocations: 0.4911 MB / 483.8 MB, free: 3.133 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006237/0.005719, allocations: 0.6538 MB / 484.5 MB, free: 2.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.005946, allocations: 115.9 kB / 484.6 MB, free: 2.367 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.006373, allocations: 396.2 kB / 485 MB, free: 1.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.006593, allocations: 175.2 kB / 485.2 MB, free: 1.812 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.006653, allocations: 48 kB / 485.2 MB, free: 1.766 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.006747, allocations: 64.89 kB / 485.3 MB, free: 1.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.006815, allocations: 75.67 kB / 485.4 MB, free: 1.629 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.006961, allocations: 172.6 kB / 485.5 MB, free: 1.461 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.007356, allocations: 422.6 kB / 485.9 MB, free: 1.047 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.007359, allocations: 4 kB / 485.9 MB, free: 1.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.00736, allocations: 0.625 kB / 485.9 MB, free: 1.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.007367, allocations: 0 / 485.9 MB, free: 1.043 MB / 442.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.0007823/0.008149, allocations: 0.8121 MB / 486.8 MB, free: 152 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.008182, allocations: 8.031 kB / 486.8 MB, free: 144 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.008266, allocations: 62.25 kB / 486.8 MB, free: 84 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.008556, allocations: 269.5 kB / 487.1 MB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.008587, allocations: 32.86 kB / 487.1 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.008633, allocations: 41.44 kB / 487.2 MB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.00891, allocations: 353.7 kB / 487.5 MB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.008915, allocations: 0.9062 kB / 487.5 MB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.00893, allocations: 16.36 kB / 487.5 MB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.008935, allocations: 5.281 kB / 487.5 MB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.009062, allocations: 215.9 kB / 487.7 MB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.009704, allocations: 0.5 MB / 488.2 MB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.009897, allocations: 276.3 kB / 488.5 MB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.01002, allocations: 229.3 kB / 488.7 MB, free: 14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.01003, allocations: 4 kB / 488.7 MB, free: 14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.01022, allocations: 333.8 kB / 489.1 MB, free: 13.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 1.282e-06/0.01022, allocations: 0.9062 kB / 489.1 MB, free: 13.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.0003864/0.01061, allocations: 0.69 MB / 489.7 MB, free: 12.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.01067, allocations: 199.8 kB / 489.9 MB, free: 12.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.01081, allocations: 266.9 kB / 490.2 MB, free: 12.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.01085, allocations: 38.33 kB / 490.2 MB, free: 12.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.01092, allocations: 149.3 kB / 490.4 MB, free: 12.15 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.01098, allocations: 135.4 kB / 490.5 MB, free: 12.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.0111, allocations: 130.1 kB / 490.6 MB, free: 11.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.01118, allocations: 347.4 kB / 491 MB, free: 11.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.01138, allocations: 372.8 kB / 491.3 MB, free: 11.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.01161, allocations: 457.6 kB / 491.8 MB, free: 10.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.01196, allocations: 0.6677 MB / 492.5 MB, free: 9.809 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01196, allocations: 0 / 492.5 MB, free: 9.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000521/0.01249, allocations: 0.8849 MB / 493.3 MB, free: 8.809 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/0.01258, allocations: 267.8 kB / 493.6 MB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01259, allocations: 4.531 kB / 493.6 MB, free: 8.488 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.0126, allocations: 4 kB / 493.6 MB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01272, allocations: 69.75 kB / 493.7 MB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01272, allocations: 4 kB / 493.7 MB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.01297, allocations: 110 kB / 493.8 MB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.01302, allocations: 65.97 kB / 493.9 MB, free: 8.246 MB / 458.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.0001508/0.01317, allocations: 286.7 kB / 494.1 MB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.01321, allocations: 43.97 kB / 494.2 MB, free: 7.883 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.01325, allocations: 39.42 kB / 494.2 MB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01326, allocations: 5 kB / 494.2 MB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01326, allocations: 3.938 kB / 494.2 MB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01327, allocations: 3.984 kB / 494.2 MB, free: 7.824 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007873/0.01405, allocations: 0.8592 MB / 495.1 MB, free: 6.883 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01406, allocations: 0 / 495.1 MB, free: 6.883 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.01415, allocations: 59.89 kB / 495.2 MB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.01416, allocations: 7.938 kB / 495.2 MB, free: 6.816 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01417, allocations: 8 kB / 495.2 MB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01417, allocations: 5.125 kB / 495.2 MB, free: 6.805 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01418, allocations: 4 kB / 495.2 MB, free: 6.801 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.01451, allocations: 0.6002 MB / 495.8 MB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.01454, allocations: 39.62 kB / 495.8 MB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.01456, allocations: 8.688 kB / 495.8 MB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.01464, allocations: 19.98 kB / 495.8 MB, free: 6.055 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.0147, allocations: 40.66 kB / 495.9 MB, free: 6.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.01473, allocations: 45.94 kB / 495.9 MB, free: 5.973 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.01479, allocations: 88.64 kB / 496 MB, free: 5.887 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01479, allocations: 0 / 496 MB, free: 5.887 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.01504, allocations: 107.9 kB / 496.1 MB, free: 5.781 MB / 458.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.0001274/0.01517, allocations: 97 kB / 496.2 MB, free: 5.684 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.01582, allocations: 1.178 MB / 497.4 MB, free: 4.305 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.01582, allocations: 4.844 kB / 497.4 MB, free: 4.301 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.01605, allocations: 0.5138 MB / 497.9 MB, free: 3.691 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.01644, allocations: 90.61 kB / 498 MB, free: 3.609 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.0172, allocations: 0.8191 MB / 498.8 MB, free: 2.734 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.085e-05/0.01726, allocations: 105 kB / 498.9 MB, free: 2.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.01737, allocations: 51.64 kB / 499 MB, free: 2.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.01763, allocations: 186.8 kB / 499.2 MB, free: 2.387 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01763, allocations: 0 / 499.2 MB, free: 2.387 MB / 458.7 MB Notification: Performance of Templates: time 0.009856/0.02749, allocations: 7.329 MB / 0.4946 GB, free: 11.56 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7866012952290475]