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.001121/0.001121, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001253/0.001253, allocations: 173 kB / 23.49 MB, free: 1.055 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.087/1.087, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.8388/0.8388, allocations: 154.8 MB / 415.1 MB, free: 500 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 3.596e-06/3.596e-06, allocations: 0 / 0.5206 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.547e-05, allocations: 4.141 kB / 0.5206 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.005304/0.005339, allocations: 1.237 MB / 0.5219 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005288/0.01063, allocations: 1.742 MB / 0.5236 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.01079, allocations: 4.562 kB / 0.5236 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.378e-05/0.01086, allocations: 19.69 kB / 0.5236 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.01111, allocations: 96.98 kB / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.01243, allocations: 0.6311 MB / 0.5243 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003861/0.01629, allocations: 0.7573 MB / 0.525 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.01648, allocations: 52.88 kB / 0.5251 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.01708, allocations: 424.1 kB / 0.5255 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004073/0.02115, allocations: 228.7 kB / 0.5257 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.02134, allocations: 72 kB / 0.5258 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.0215, allocations: 83.98 kB / 0.5258 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.02157, allocations: 76.38 kB / 0.5259 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.02179, allocations: 211.6 kB / 0.5261 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.02241, allocations: 0.5229 MB / 0.5266 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.02241, allocations: 0 / 0.5266 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.974e-06/0.02241, allocations: 0.625 kB / 0.5266 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.02242, allocations: 4 kB / 0.5266 GB, free: 12.08 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.001246/0.02367, allocations: 0.9557 MB / 0.5276 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.02371, allocations: 8.031 kB / 0.5276 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.02388, allocations: 60.75 kB / 0.5276 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.02479, allocations: 381.6 kB / 0.528 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.02483, allocations: 28.23 kB / 0.528 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/0.02492, allocations: 49.17 kB / 0.5281 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.02527, allocations: 203.3 kB / 0.5283 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.02528, allocations: 192 / 0.5283 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.02531, allocations: 8.375 kB / 0.5283 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.02532, allocations: 8.625 kB / 0.5283 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.02546, allocations: 68.91 kB / 0.5283 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.02959, allocations: 0.9194 MB / 0.5292 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.02994, allocations: 193 kB / 0.5294 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.03004, allocations: 71.03 kB / 0.5295 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.03007, allocations: 4 kB / 0.5295 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.0304, allocations: 262.3 kB / 0.5298 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.0304, allocations: 1.5 kB / 0.5298 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0006518/0.03105, allocations: 370.4 kB / 0.5301 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.03112, allocations: 119.8 kB / 0.5302 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.03137, allocations: 310.2 kB / 0.5305 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.03144, allocations: 46.8 kB / 0.5306 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.03158, allocations: 207.7 kB / 0.5308 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.03166, allocations: 103.2 kB / 0.5309 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003245/0.03491, allocations: 163 kB / 0.531 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.03506, allocations: 0.5195 MB / 0.5315 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.03549, allocations: 359.1 kB / 0.5319 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.03608, allocations: 0.7865 MB / 0.5326 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.03664, allocations: 0.5368 MB / 0.5332 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.03664, allocations: 0 / 0.5332 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00424/0.04088, allocations: 0.998 MB / 0.5341 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.04099, allocations: 182.2 kB / 0.5343 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.04101, allocations: 4.5 kB / 0.5343 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.04103, allocations: 5.5 kB / 0.5343 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.04122, allocations: 51.91 kB / 0.5344 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.04123, allocations: 4 kB / 0.5344 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.04177, allocations: 146.3 kB / 0.5345 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.04184, allocations: 44.52 kB / 0.5345 GB, free: 3.242 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.0002286/0.04207, allocations: 199.8 kB / 0.5347 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.04215, allocations: 51.8 kB / 0.5348 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.04221, allocations: 35.11 kB / 0.5348 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.04221, allocations: 4 kB / 0.5348 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.04222, allocations: 6.438 kB / 0.5348 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.04223, allocations: 0 / 0.5348 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000925/0.04315, allocations: 0.8883 MB / 0.5357 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.04316, allocations: 0 / 0.5357 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.04331, allocations: 42.14 kB / 0.5357 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.04332, allocations: 4 kB / 0.5357 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.04334, allocations: 11.98 kB / 0.5358 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.04334, allocations: 0 / 0.5358 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.04335, allocations: 7.938 kB / 0.5358 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.0439, allocations: 0.7371 MB / 0.5365 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.04393, allocations: 27.81 kB / 0.5365 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.04396, allocations: 13.55 kB / 0.5365 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.04408, allocations: 11.94 kB / 0.5365 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.04414, allocations: 35.94 kB / 0.5366 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.04415, allocations: 15.98 kB / 0.5366 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000114/0.04427, allocations: 203.6 kB / 0.5368 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.04427, allocations: 0 / 0.5368 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003622/0.04463, allocations: 120.8 kB / 0.5369 GB, free: 0.7812 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.0001793/0.04481, allocations: 116.1 kB / 0.537 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007029/0.04551, allocations: 0.8849 MB / 0.5379 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.04551, allocations: 0.6875 kB / 0.5379 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.04565, allocations: 120.8 kB / 0.538 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.04615, allocations: 125.8 kB / 0.5381 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/0.04689, allocations: 0.5527 MB / 0.5386 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.04696, allocations: 93.81 kB / 0.5387 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.0471, allocations: 63.89 kB / 0.5388 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.04716, allocations: 40.48 kB / 0.5388 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/0.04716, allocations: 3.938 kB / 0.5388 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.009275/0.05644, allocations: 7.695 MB / 0.5464 GB, free: 7.238 MB / 0.5105 GB " [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.173202984035015]