Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.001317/0.001317, 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.001623/0.001623, 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.008/1.008, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.8693/0.8693, allocations: 154.9 MB / 415.1 MB, free: 232 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.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.9e-05, allocations: 4 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001255/0.001274, allocations: 0.6409 MB / 481.1 MB, free: 5.875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007603/0.002034, allocations: 0.832 MB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.002062, allocations: 0 / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.002086, allocations: 0.5312 kB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.002148, allocations: 5.25 kB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.968e-05/0.002188, allocations: 12.77 kB / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.002251, allocations: 19.25 kB / 482 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.002289, allocations: 4.969 kB / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.682e-05/0.002366, allocations: 8.984 kB / 482 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.002394, allocations: 5.641 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.002409, allocations: 5.094 kB / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-06/0.002412, allocations: 0 / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.002427, allocations: 5 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.397e-05/0.002441, allocations: 4.656 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.688e-05/0.002497, allocations: 8.641 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002499, allocations: 0.5312 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.0025, allocations: 2.516 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.002503, allocations: 0 / 482 MB, free: 4.969 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002725/0.002775, allocations: 231.8 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.002804, allocations: 8.688 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.002828, allocations: 8.922 kB / 482.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.905e-05/0.002907, allocations: 110.3 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002917, allocations: 4.375 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-06/0.002922, allocations: 384 / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.381e-05/0.003006, allocations: 51.95 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.003012, allocations: 192 / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.003017, allocations: 1.469 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.003022, allocations: 1.25 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.157e-05/0.003033, allocations: 7.938 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.266e-05/0.003106, allocations: 61.58 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.24e-05/0.003139, allocations: 15.23 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.169e-05/0.00315, allocations: 4.859 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.003158, allocations: 9.438 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.003178, allocations: 34.56 kB / 482.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.003178, allocations: 0 / 482.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.514e-05/0.003253, allocations: 35.39 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.00328, allocations: 52.97 kB / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.003331, allocations: 110.7 kB / 482.7 MB, free: 4.125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.00334, allocations: 25.7 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/0.003359, allocations: 80.14 kB / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.003379, allocations: 3.938 kB / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.003399, allocations: 14.56 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.00347, allocations: 314.8 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-06/0.003476, allocations: 1 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.003482, allocations: 8.594 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.602e-05/0.003498, allocations: 5.359 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.0035, allocations: 0.5625 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.513e-05/0.003535, allocations: 38.97 kB / 483.2 MB, free: 3.613 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.003545, allocations: 4 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.003549, allocations: 0 / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.003558, allocations: 1.594 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.003608, allocations: 4 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.00361, allocations: 0.625 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.003625, allocations: 8.609 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.003629, allocations: 0 / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.833e-05/0.003677, allocations: 122.3 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-06/0.003681, allocations: 0.625 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.003699, allocations: 10.39 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.003701, allocations: 4.266 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.003702, allocations: 0.625 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.003704, allocations: 0 / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.467e-05/0.003749, allocations: 70.77 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.00375, allocations: 0 / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.003763, allocations: 5.562 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.003764, allocations: 0 / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.003767, allocations: 0 / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.003767, allocations: 0.7656 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003768, allocations: 0 / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.414e-05/0.003812, allocations: 61.97 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-06/0.003816, allocations: 0 / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-06/0.003823, allocations: 1.938 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.003833, allocations: 7.984 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.003858, allocations: 7.938 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.82e-07/0.003859, allocations: 0.7656 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.386e-06/0.003867, allocations: 8.859 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003867, allocations: 1.094 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.943e-05/0.003956, allocations: 4 kB / 483.5 MB, free: 3.262 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.191e-05/0.004018, allocations: 77.84 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.422e-05/0.004063, allocations: 8.859 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.004065, allocations: 1.75 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.004076, allocations: 9.406 kB / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.102e-05/0.004157, allocations: 13.66 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.004336, allocations: 110.1 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.192e-05/0.004368, allocations: 55.3 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.351e-05/0.004381, allocations: 0.5469 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.004422, allocations: 52.12 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.004422, allocations: 2 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of Templates: time 0.001789/0.006211, allocations: 430.5 kB / 484.3 MB, free: 2.484 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6592267397791147]