Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009363/0.0009363, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002432, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009542/0.0009542, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002333, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9926/0.9926, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09677/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8318/0.8318, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.277/1.109, allocations: 49.04 MB / 447.8 MB, free: 6.574 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 449.2 MB, free: 5.199 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.766e-06/1.019e-05, allocations: 2.312 kB / 449.2 MB, free: 5.195 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001472/0.001482, allocations: 1.273 MB / 450.5 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.003288, allocations: 1.761 MB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.003365, allocations: 0 / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.003404, allocations: 28.27 kB / 452.3 MB, free: 2.176 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.003552, allocations: 96.73 kB / 452.4 MB, free: 2.102 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008584/0.00441, allocations: 0.627 MB / 453 MB, free: 1.477 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.005012, allocations: 0.7416 MB / 453.7 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.005129, allocations: 53.92 kB / 453.8 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.005566, allocations: 495.1 kB / 454.3 MB, free: 208 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.005797, allocations: 198.8 kB / 454.5 MB, free: 12 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.005872, allocations: 53.11 kB / 454.5 MB, free: 15.96 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.005986, allocations: 71.92 kB / 454.6 MB, free: 15.89 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.006028, allocations: 52.95 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.006139, allocations: 131.8 kB / 454.8 MB, free: 15.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.006447, allocations: 359 kB / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.006458, allocations: 0.7188 kB / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006458, allocations: 0 / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.006472, allocations: 1.5 kB / 455.1 MB, free: 15.36 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.000787/0.007259, allocations: 0.8027 MB / 455.9 MB, free: 14.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.007288, allocations: 11.97 kB / 455.9 MB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.007365, allocations: 60.86 kB / 456 MB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.007622, allocations: 233.8 kB / 456.2 MB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.007647, allocations: 29.06 kB / 456.3 MB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.007703, allocations: 41.45 kB / 456.3 MB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.007905, allocations: 193 kB / 456.5 MB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.007914, allocations: 192 / 456.5 MB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.007927, allocations: 7.688 kB / 456.5 MB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.007935, allocations: 8.375 kB / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.008003, allocations: 47.84 kB / 456.5 MB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.00856, allocations: 0.5625 MB / 457.1 MB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.008744, allocations: 139.5 kB / 457.2 MB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.008795, allocations: 54.56 kB / 457.3 MB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.008815, allocations: 8.734 kB / 457.3 MB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.009016, allocations: 244.9 kB / 457.5 MB, free: 12.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 1.002e-06/0.009017, allocations: 0.625 kB / 457.5 MB, free: 12.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.0002941/0.009311, allocations: 248.4 kB / 457.8 MB, free: 12.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.009356, allocations: 115.7 kB / 457.9 MB, free: 12.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.009486, allocations: 250.9 kB / 458.1 MB, free: 12.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.009532, allocations: 47.42 kB / 458.2 MB, free: 12.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.009605, allocations: 137.5 kB / 458.3 MB, free: 11.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.009662, allocations: 111.1 kB / 458.4 MB, free: 11.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.009796, allocations: 138.1 kB / 458.6 MB, free: 11.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.009883, allocations: 350.7 kB / 458.9 MB, free: 11.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.01035, allocations: 316 kB / 459.2 MB, free: 11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.01062, allocations: 0.5152 MB / 459.7 MB, free: 10.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.01092, allocations: 499.3 kB / 460.2 MB, free: 9.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01092, allocations: 0 / 460.2 MB, free: 9.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005501/0.01147, allocations: 0.7889 MB / 461 MB, free: 8.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.255e-05/0.01156, allocations: 202.1 kB / 461.2 MB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01156, allocations: 4.875 kB / 461.2 MB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01158, allocations: 4 kB / 461.2 MB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.0117, allocations: 65.3 kB / 461.3 MB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.0117, allocations: 4 kB / 461.3 MB, free: 8.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.012, allocations: 142.3 kB / 461.4 MB, free: 8.508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.01204, allocations: 35.97 kB / 461.5 MB, free: 8.473 MB / 442.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.0001121/0.01215, allocations: 159.7 kB / 461.6 MB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.01219, allocations: 35.95 kB / 461.7 MB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.01223, allocations: 30.66 kB / 461.7 MB, free: 8.242 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01223, allocations: 4 kB / 461.7 MB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01224, allocations: 4.594 kB / 461.7 MB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01224, allocations: 6.016 kB / 461.7 MB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.01269, allocations: 0.5854 MB / 462.3 MB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01269, allocations: 3.984 kB / 462.3 MB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.0128, allocations: 47.91 kB / 462.3 MB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.01282, allocations: 24.69 kB / 462.4 MB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01283, allocations: 4 kB / 462.4 MB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.01284, allocations: 13.45 kB / 462.4 MB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01284, allocations: 0 / 462.4 MB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01285, allocations: 4 kB / 462.4 MB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.01318, allocations: 500 kB / 462.9 MB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.01321, allocations: 12 kB / 462.9 MB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01331, allocations: 12.73 kB / 462.9 MB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.01335, allocations: 27.95 kB / 462.9 MB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.01337, allocations: 17.8 kB / 462.9 MB, free: 6.953 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.01343, allocations: 88.62 kB / 463 MB, free: 6.867 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01343, allocations: 0 / 463 MB, free: 6.867 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002952/0.01372, allocations: 115.9 kB / 463.1 MB, free: 6.754 MB / 442.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.0001093/0.01383, allocations: 101.2 kB / 463.2 MB, free: 6.648 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.01434, allocations: 0.8374 MB / 464.1 MB, free: 5.703 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.01435, allocations: 4 kB / 464.1 MB, free: 5.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.01445, allocations: 114.6 kB / 464.2 MB, free: 5.586 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.01504, allocations: 0.9281 MB / 465.1 MB, free: 4.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.01582, allocations: 0.5197 MB / 465.6 MB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.222e-05/0.01588, allocations: 97.67 kB / 465.7 MB, free: 3.805 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.016, allocations: 54.34 kB / 465.8 MB, free: 3.762 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.01655, allocations: 201.1 kB / 466 MB, free: 3.562 MB / 442.7 MB Notification: Performance of SimCode: time 5e-07/0.01655, allocations: 2.219 kB / 466 MB, free: 3.562 MB / 442.7 MB Notification: Performance of Templates: time 0.009474/0.02603, allocations: 8.583 MB / 474.6 MB, free: 11.57 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.783696250990033]