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.0007523/0.0007523, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007771/0.0007771, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8537/0.8537, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.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-531:686: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-531:694: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.6956/0.6956, allocations: 154.6 MB / 414.5 MB, free: 0.8242 MB / 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. " [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 2.625e-06/2.625e-06, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.085e-05, allocations: 4.531 kB / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001784/0.001815, allocations: 1.188 MB / 0.6206 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.00332, allocations: 1.727 MB / 0.6223 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.003395, allocations: 4 kB / 0.6223 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.141e-05/0.003436, allocations: 19.69 kB / 0.6223 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.003592, allocations: 103.3 kB / 0.6224 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.004441, allocations: 0.6524 MB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.004912, allocations: 0.7602 MB / 0.6238 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.005043, allocations: 52.83 kB / 0.6238 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.005339, allocations: 423.4 kB / 0.6242 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.005578, allocations: 227.4 kB / 0.6244 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.005648, allocations: 72 kB / 0.6245 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.005744, allocations: 83.92 kB / 0.6246 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.005791, allocations: 75.75 kB / 0.6246 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.005944, allocations: 215.6 kB / 0.6249 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.006466, allocations: 0.8104 MB / 0.6256 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.006468, allocations: 0 / 0.6256 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006469, allocations: 0 / 0.6256 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.006475, allocations: 0 / 0.6256 GB, free: 6.707 MB / 0.5886 GB 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.0009101/0.007385, allocations: 0.8575 MB / 0.6265 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.007421, allocations: 12.03 kB / 0.6265 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.626e-05/0.007517, allocations: 52.7 kB / 0.6265 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.00826, allocations: 392.3 kB / 0.6269 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.00829, allocations: 32.36 kB / 0.6269 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.008353, allocations: 44.38 kB / 0.627 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.008637, allocations: 213.2 kB / 0.6272 GB, free: 5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.008648, allocations: 4.125 kB / 0.6272 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.008665, allocations: 12.31 kB / 0.6272 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.008674, allocations: 12.12 kB / 0.6272 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.008875, allocations: 111.9 kB / 0.6273 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.009634, allocations: 0.7967 MB / 0.6281 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.01002, allocations: 216.2 kB / 0.6283 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.01016, allocations: 102.5 kB / 0.6284 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.01018, allocations: 4 kB / 0.6284 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.01051, allocations: 290.2 kB / 0.6287 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.01051, allocations: 0 / 0.6287 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.0006638/0.01117, allocations: 467.9 kB / 0.6291 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.01123, allocations: 114.8 kB / 0.6292 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.01141, allocations: 268.1 kB / 0.6295 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.01146, allocations: 49.69 kB / 0.6295 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.01156, allocations: 149 kB / 0.6297 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.01162, allocations: 111.2 kB / 0.6298 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.01178, allocations: 154.1 kB / 0.6299 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.01187, allocations: 346.8 kB / 0.6303 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.01227, allocations: 411 kB / 0.6307 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.01278, allocations: 0.7699 MB / 0.6314 GB, free: 344 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.01331, allocations: 0.5708 MB / 0.632 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.01331, allocations: 11.94 kB / 0.632 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009735/0.01429, allocations: 1.038 MB / 0.633 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.557e-05/0.01436, allocations: 186.2 kB / 0.6332 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01437, allocations: 4 kB / 0.6332 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01438, allocations: 4 kB / 0.6332 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.0145, allocations: 55.89 kB / 0.6332 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.01451, allocations: 11.94 kB / 0.6332 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.01494, allocations: 183.5 kB / 0.6334 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.015, allocations: 43.95 kB / 0.6335 GB, free: 14.04 MB / 0.6042 GB 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.0001384/0.01513, allocations: 176.7 kB / 0.6336 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.01517, allocations: 31.81 kB / 0.6337 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.01521, allocations: 33.8 kB / 0.6337 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.01522, allocations: 4 kB / 0.6337 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01522, allocations: 0 / 0.6337 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01523, allocations: 3.984 kB / 0.6337 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.01598, allocations: 0.8207 MB / 0.6345 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01598, allocations: 192 / 0.6345 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.01609, allocations: 47.89 kB / 0.6346 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01609, allocations: 7.938 kB / 0.6346 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.01611, allocations: 11.98 kB / 0.6346 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.01612, allocations: 4 kB / 0.6346 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01612, allocations: 3.938 kB / 0.6346 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.0168, allocations: 0.7098 MB / 0.6353 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.01683, allocations: 31.75 kB / 0.6353 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01686, allocations: 12.03 kB / 0.6353 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.01698, allocations: 19.92 kB / 0.6353 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.01703, allocations: 35.89 kB / 0.6354 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.01705, allocations: 19.98 kB / 0.6354 GB, free: 12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001076/0.01716, allocations: 183.1 kB / 0.6356 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01716, allocations: 0 / 0.6356 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003258/0.01748, allocations: 115.9 kB / 0.6357 GB, free: 11.71 MB / 0.6042 GB 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.000165/0.01765, allocations: 119.1 kB / 0.6358 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008377/0.01848, allocations: 0.9355 MB / 0.6367 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01849, allocations: 0 / 0.6367 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.01869, allocations: 159.2 kB / 0.6368 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.01916, allocations: 122 kB / 0.637 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.0199, allocations: 0.6026 MB / 0.6376 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.02001, allocations: 165 kB / 0.6377 GB, free: 9.445 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.02008, allocations: 44.48 kB / 0.6378 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of SimCode: time 8.02e-07/0.02008, allocations: 0 / 0.6378 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of Templates: time 0.005318/0.0254, allocations: 5.887 MB / 0.6435 GB, free: 3.57 MB / 0.6042 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3598548118025064] Failed to read output from testmodel.py, exit status != 0: 0.030594054609537125 0.040397546 0.031687411 Calling exit ...