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.0009209/0.0009209, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009499/0.0009499, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9195/0.9195, allocations: 177.1 MB / 204.5 MB, free: 5.492 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-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.7555/0.7555, allocations: 154.6 MB / 415.6 MB, free: 0.5039 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 1.793e-06/1.793e-06, allocations: 0 / 0.5216 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.521e-05, allocations: 4.625 kB / 0.5216 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.005175/0.0052, allocations: 1.199 MB / 0.5228 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005178/0.01038, allocations: 1.754 MB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.01051, allocations: 4 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.579e-05/0.01056, allocations: 21.53 kB / 0.5245 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.0108, allocations: 99.2 kB / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.01201, allocations: 0.623 MB / 0.5252 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007463/0.01275, allocations: 0.765 MB / 0.526 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.0129, allocations: 57.84 kB / 0.526 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.01446, allocations: 460.2 kB / 0.5265 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.01474, allocations: 203.2 kB / 0.5266 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.621e-05/0.01482, allocations: 56 kB / 0.5267 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.01493, allocations: 67.92 kB / 0.5268 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.01498, allocations: 65.53 kB / 0.5268 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.01515, allocations: 187.7 kB / 0.527 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.01557, allocations: 450.7 kB / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.01558, allocations: 0 / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01558, allocations: 0 / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.01558, allocations: 1.812 kB / 0.5274 GB, free: 11.88 MB / 0.4948 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.0009307/0.01651, allocations: 0.9386 MB / 0.5284 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.01655, allocations: 12.03 kB / 0.5284 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.01666, allocations: 56.75 kB / 0.5284 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.017, allocations: 288.5 kB / 0.5287 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.01704, allocations: 29.12 kB / 0.5287 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.01711, allocations: 44.36 kB / 0.5288 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.01739, allocations: 195.7 kB / 0.529 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.0174, allocations: 192 / 0.529 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.01742, allocations: 13.7 kB / 0.529 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.01743, allocations: 4.375 kB / 0.529 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.527e-05/0.01752, allocations: 59.77 kB / 0.529 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.01839, allocations: 0.8937 MB / 0.5299 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.01863, allocations: 172.7 kB / 0.5301 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.01871, allocations: 63.03 kB / 0.5301 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.01873, allocations: 7.984 kB / 0.5301 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.019, allocations: 242.5 kB / 0.5304 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.303e-06/0.019, allocations: 0 / 0.5304 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0016/0.0206, allocations: 340.1 kB / 0.5307 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.02066, allocations: 114.8 kB / 0.5308 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.02083, allocations: 310.1 kB / 0.5311 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.02089, allocations: 45.7 kB / 0.5311 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.02099, allocations: 216.1 kB / 0.5313 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.02106, allocations: 100.8 kB / 0.5314 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.02121, allocations: 155.7 kB / 0.5316 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.02134, allocations: 0.5156 MB / 0.5321 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.02159, allocations: 327.1 kB / 0.5324 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.0219, allocations: 0.5817 MB / 0.533 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.02226, allocations: 0.506 MB / 0.5335 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.02227, allocations: 0 / 0.5335 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007946/0.02306, allocations: 0.916 MB / 0.5344 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.242e-05/0.02316, allocations: 198.2 kB / 0.5345 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.02316, allocations: 4 kB / 0.5346 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.02318, allocations: 4 kB / 0.5346 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.02331, allocations: 47.91 kB / 0.5346 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.02332, allocations: 8.922 kB / 0.5346 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.02366, allocations: 135.6 kB / 0.5347 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.02371, allocations: 39.97 kB / 0.5348 GB, free: 3.691 MB / 0.4948 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.000145/0.02386, allocations: 222.2 kB / 0.535 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.0239, allocations: 51.75 kB / 0.535 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.02395, allocations: 29.81 kB / 0.5351 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.02395, allocations: 8.031 kB / 0.5351 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.02395, allocations: 0 / 0.5351 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.02396, allocations: 3.984 kB / 0.5351 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006332/0.0246, allocations: 0.8359 MB / 0.5359 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0246, allocations: 4 kB / 0.5359 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.02472, allocations: 51 kB / 0.5359 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.02472, allocations: 0 / 0.5359 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.02474, allocations: 15.98 kB / 0.536 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.02474, allocations: 0 / 0.536 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.02474, allocations: 3.984 kB / 0.536 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.02518, allocations: 0.6977 MB / 0.5366 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.02521, allocations: 32.92 kB / 0.5367 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.02523, allocations: 8 kB / 0.5367 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.02535, allocations: 19.92 kB / 0.5367 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.0254, allocations: 37.36 kB / 0.5367 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.02541, allocations: 15.98 kB / 0.5368 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.077e-05/0.0255, allocations: 199 kB / 0.5369 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0255, allocations: 0 / 0.5369 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003394/0.02584, allocations: 116.5 kB / 0.5371 GB, free: 1.297 MB / 0.4948 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.0001676/0.02601, allocations: 113.3 kB / 0.5372 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006418/0.02665, allocations: 0.847 MB / 0.538 GB, free: 224 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.02665, allocations: 0.6875 kB / 0.538 GB, free: 224 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.02677, allocations: 114.3 kB / 0.5381 GB, free: 108 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.02728, allocations: 115.7 kB / 0.5382 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.02802, allocations: 0.5443 MB / 0.5387 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.392e-05/0.02808, allocations: 98.73 kB / 0.5388 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.0282, allocations: 45.91 kB / 0.5389 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.02852, allocations: 234.5 kB / 0.5391 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/0.02852, allocations: 2.688 kB / 0.5391 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.009131/0.03765, allocations: 8.301 MB / 0.5472 GB, free: 7.07 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8319379929453135]