Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.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.0009146/0.0009146, allocations: 80.75 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.0009607/0.0009607, allocations: 181 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7593/0.7593, allocations: 154.9 MB / 415.1 MB, free: 204 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.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 480.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.529e-05, allocations: 2.938 kB / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002447/0.002472, allocations: 1.212 MB / 481.6 MB, free: 5.297 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.004868, allocations: 1.77 MB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.004987, allocations: 1.969 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.542e-05/0.005053, allocations: 23.62 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.005328, allocations: 105 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.006635, allocations: 0.6323 MB / 484.2 MB, free: 2.781 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.007383, allocations: 0.7583 MB / 484.9 MB, free: 2.023 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.007532, allocations: 55.86 kB / 485 MB, free: 1.969 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.008082, allocations: 467.1 kB / 485.4 MB, free: 1.512 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.008401, allocations: 196.4 kB / 485.6 MB, free: 1.324 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.827e-05/0.008489, allocations: 56 kB / 485.7 MB, free: 1.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.008626, allocations: 67.98 kB / 485.7 MB, free: 1.203 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.00869, allocations: 63.75 kB / 485.8 MB, free: 1.141 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.008885, allocations: 188.5 kB / 486 MB, free: 0.957 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.009378, allocations: 450.7 kB / 486.4 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.009382, allocations: 0.9062 kB / 486.4 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.009384, allocations: 0 / 486.4 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.009389, allocations: 0.5938 kB / 486.4 MB, free: 0.5156 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009622/0.01035, allocations: 0.7138 MB / 487.1 MB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.01039, allocations: 8.031 kB / 487.2 MB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.01049, allocations: 56.88 kB / 487.2 MB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.01088, allocations: 245.8 kB / 487.4 MB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.01091, allocations: 34.08 kB / 487.5 MB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.01101, allocations: 49.16 kB / 487.5 MB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.01132, allocations: 184.2 kB / 487.7 MB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.01133, allocations: 4.172 kB / 487.7 MB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.01135, allocations: 9.594 kB / 487.7 MB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.01136, allocations: 4.375 kB / 487.7 MB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.01147, allocations: 51.78 kB / 487.8 MB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.01232, allocations: 0.5567 MB / 488.3 MB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.01259, allocations: 141 kB / 488.5 MB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.01266, allocations: 51.94 kB / 488.5 MB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.01269, allocations: 4 kB / 488.5 MB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.01297, allocations: 243.1 kB / 488.8 MB, free: 14.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 2.024e-06/0.01297, allocations: 0.9062 kB / 488.8 MB, free: 14.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004234/0.01339, allocations: 242.5 kB / 489 MB, free: 13.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.01346, allocations: 122.7 kB / 489.1 MB, free: 13.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.01366, allocations: 250.9 kB / 489.4 MB, free: 13.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.01372, allocations: 50.28 kB / 489.4 MB, free: 13.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.01383, allocations: 139.2 kB / 489.6 MB, free: 13.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.182e-05/0.01391, allocations: 103.1 kB / 489.7 MB, free: 13.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.01412, allocations: 142 kB / 489.8 MB, free: 12.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.01423, allocations: 350.7 kB / 490.1 MB, free: 12.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.01454, allocations: 304.7 kB / 490.4 MB, free: 12.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.01494, allocations: 0.5035 MB / 490.9 MB, free: 11.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.01539, allocations: 489.3 kB / 491.4 MB, free: 11.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01539, allocations: 0.7188 kB / 491.4 MB, free: 11.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000819/0.01621, allocations: 0.7737 MB / 492.2 MB, free: 10.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.01632, allocations: 195.6 kB / 492.4 MB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.01633, allocations: 4 kB / 492.4 MB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01635, allocations: 4 kB / 492.4 MB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.01653, allocations: 56.44 kB / 492.4 MB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.01653, allocations: 4 kB / 492.4 MB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.01701, allocations: 142.8 kB / 492.6 MB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.01708, allocations: 38 kB / 492.6 MB, free: 9.777 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.0001588/0.01724, allocations: 159.6 kB / 492.8 MB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.01729, allocations: 35.97 kB / 492.8 MB, free: 9.578 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.01736, allocations: 34.8 kB / 492.8 MB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01736, allocations: 5.438 kB / 492.9 MB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01737, allocations: 0 / 492.9 MB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.01737, allocations: 0 / 492.9 MB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.01806, allocations: 0.5891 MB / 493.4 MB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01806, allocations: 0 / 493.4 MB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.01822, allocations: 37.84 kB / 493.5 MB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.01823, allocations: 0 / 493.5 MB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.01825, allocations: 11.98 kB / 493.5 MB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.01825, allocations: 11.94 kB / 493.5 MB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01826, allocations: 0 / 493.5 MB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.01873, allocations: 0.4953 MB / 494 MB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.01877, allocations: 32.41 kB / 494 MB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.0188, allocations: 9.75 kB / 494 MB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.019, allocations: 15.98 kB / 494.1 MB, free: 8.305 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.01906, allocations: 27.95 kB / 494.1 MB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.01908, allocations: 23.86 kB / 494.1 MB, free: 8.254 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.575e-05/0.01917, allocations: 84.64 kB / 494.2 MB, free: 8.172 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01917, allocations: 1.156 kB / 494.2 MB, free: 8.172 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005205/0.01969, allocations: 107.9 kB / 494.3 MB, free: 8.066 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001765/0.01986, allocations: 105.7 kB / 494.4 MB, free: 7.957 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007314/0.0206, allocations: 0.8146 MB / 495.2 MB, free: 7.031 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.0206, allocations: 5.281 kB / 495.2 MB, free: 7.027 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.02075, allocations: 108.4 kB / 495.3 MB, free: 6.918 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.02143, allocations: 114.5 kB / 495.4 MB, free: 6.809 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.02225, allocations: 0.5228 MB / 496 MB, free: 6.254 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.419e-05/0.02233, allocations: 97.67 kB / 496.1 MB, free: 6.141 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.0225, allocations: 48.03 kB / 496.1 MB, free: 6.105 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.02292, allocations: 194 kB / 496.3 MB, free: 5.914 MB / 458.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02292, allocations: 0 / 496.3 MB, free: 5.914 MB / 458.7 MB Notification: Performance of Templates: time 0.0115/0.03442, allocations: 8.119 MB / 0.4926 GB, free: 14.32 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.078958908095956]