Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.0009651/0.0009651, 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.00113/0.00113, allocations: 173 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 1.121/1.121, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.7595/0.7595, allocations: 154.9 MB / 415.1 MB, free: 244 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.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 480.4 MB, free: 6.574 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.922e-05, allocations: 6.797 kB / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001523/0.001543, allocations: 1.094 MB / 481.5 MB, free: 5.512 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.003054, allocations: 1.587 MB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.003143, allocations: 8.594 kB / 483.1 MB, free: 3.914 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.00326, allocations: 29.25 kB / 483.1 MB, free: 3.887 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003372, allocations: 76.48 kB / 483.2 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.004167, allocations: 471 kB / 483.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.004606, allocations: 0.5962 MB / 484.2 MB, free: 2.777 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.004779, allocations: 99.61 kB / 484.3 MB, free: 2.676 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.005071, allocations: 362.1 kB / 484.7 MB, free: 2.324 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.005249, allocations: 151.6 kB / 484.8 MB, free: 2.176 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.005302, allocations: 44.97 kB / 484.9 MB, free: 2.133 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.00539, allocations: 63.98 kB / 484.9 MB, free: 2.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.005459, allocations: 63.77 kB / 485 MB, free: 2.008 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.005582, allocations: 164.3 kB / 485.1 MB, free: 1.848 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.005903, allocations: 386.8 kB / 485.5 MB, free: 1.469 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.005905, allocations: 1.719 kB / 485.5 MB, free: 1.469 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005906, allocations: 0 / 485.5 MB, free: 1.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00591, allocations: 0 / 485.5 MB, free: 1.469 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0005777/0.006488, allocations: 0.6351 MB / 486.2 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.00652, allocations: 8.031 kB / 486.2 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.00659, allocations: 57.89 kB / 486.2 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.006839, allocations: 232.7 kB / 486.4 MB, free: 480 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.006887, allocations: 28.86 kB / 486.5 MB, free: 452 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.006951, allocations: 41 kB / 486.5 MB, free: 412 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.007192, allocations: 309.8 kB / 486.8 MB, free: 64 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.007203, allocations: 1.406 kB / 486.8 MB, free: 64 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.007219, allocations: 8.375 kB / 486.8 MB, free: 56 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.007228, allocations: 8.375 kB / 486.8 MB, free: 48 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.007309, allocations: 71.98 kB / 486.9 MB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.007962, allocations: 488.5 kB / 487.4 MB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.008102, allocations: 109.8 kB / 487.5 MB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.008154, allocations: 57.47 kB / 487.5 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.008163, allocations: 5.094 kB / 487.5 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.008346, allocations: 291.2 kB / 487.8 MB, free: 14.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.008348, allocations: 1.938 kB / 487.8 MB, free: 14.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003599/0.008708, allocations: 217.2 kB / 488 MB, free: 14.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.008764, allocations: 110.8 kB / 488.2 MB, free: 14.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.008935, allocations: 298.7 kB / 488.4 MB, free: 14.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.00897, allocations: 41.64 kB / 488.5 MB, free: 14.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.009049, allocations: 158.4 kB / 488.6 MB, free: 14.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.009084, allocations: 63.56 kB / 488.7 MB, free: 14.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.009204, allocations: 137.9 kB / 488.8 MB, free: 13.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.009283, allocations: 343.3 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.009438, allocations: 227.6 kB / 489.4 MB, free: 13.33 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.00977, allocations: 396.5 kB / 489.8 MB, free: 12.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.01002, allocations: 403.4 kB / 490.2 MB, free: 12.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01003, allocations: 11.88 kB / 490.2 MB, free: 12.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004642/0.01049, allocations: 0.611 MB / 490.8 MB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.01055, allocations: 138.8 kB / 490.9 MB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01056, allocations: 0 / 490.9 MB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01057, allocations: 8 kB / 490.9 MB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01069, allocations: 51.91 kB / 491 MB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01069, allocations: 9.219 kB / 491 MB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.01093, allocations: 108.7 kB / 491.1 MB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.01099, allocations: 60.39 kB / 491.2 MB, free: 11.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2],extIndInt.u[4],conInt2.y,conInt3.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001188/0.01111, allocations: 172.5 kB / 491.3 MB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.01113, allocations: 27.97 kB / 491.4 MB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.01134, allocations: 204.5 kB / 491.6 MB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01135, allocations: 4.625 kB / 491.6 MB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.01135, allocations: 1.031 kB / 491.6 MB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.01136, allocations: 4.703 kB / 491.6 MB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.01171, allocations: 479.1 kB / 492 MB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01171, allocations: 0 / 492 MB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.01177, allocations: 37.83 kB / 492.1 MB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01178, allocations: 4 kB / 492.1 MB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.01178, allocations: 7.984 kB / 492.1 MB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.01179, allocations: 8 kB / 492.1 MB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01179, allocations: 0 / 492.1 MB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.01195, allocations: 274.8 kB / 492.4 MB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.01198, allocations: 39.69 kB / 492.4 MB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01199, allocations: 4.562 kB / 492.4 MB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.01206, allocations: 18.44 kB / 492.4 MB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.01209, allocations: 19.97 kB / 492.4 MB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.01209, allocations: 7.984 kB / 492.5 MB, free: 10.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.684e-05/0.01216, allocations: 100.6 kB / 492.6 MB, free: 9.906 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01216, allocations: 1.188 kB / 492.6 MB, free: 9.906 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01238, allocations: 99.88 kB / 492.7 MB, free: 9.809 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.0001116/0.01249, allocations: 104.1 kB / 492.8 MB, free: 9.703 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006433/0.01314, allocations: 0.6056 MB / 493.4 MB, free: 9.023 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.01314, allocations: 4 kB / 493.4 MB, free: 9.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.744e-05/0.01321, allocations: 89.17 kB / 493.4 MB, free: 8.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.01345, allocations: 90.23 kB / 493.5 MB, free: 8.844 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.01392, allocations: 498.6 kB / 494 MB, free: 8.332 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01397, allocations: 94 kB / 494.1 MB, free: 8.223 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.01404, allocations: 44.55 kB / 494.2 MB, free: 8.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.01427, allocations: 167.3 kB / 494.3 MB, free: 8.016 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01427, allocations: 0 / 494.3 MB, free: 8.016 MB / 458.7 MB Notification: Performance of Templates: time 0.0073/0.02157, allocations: 6.287 MB / 0.4889 GB, free: 2.176 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9190701986663043]