Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.001247/0.001247, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001538/0.001538, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.111/1.111, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.8822/0.8822, allocations: 154.9 MB / 415.1 MB, free: 248 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.928e-06/3.928e-06, allocations: 0 / 480.5 MB, free: 6.465 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.78e-05, allocations: 2.312 kB / 480.5 MB, free: 6.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001799/0.001836, allocations: 0.7399 MB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.002791, allocations: 0.8433 MB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.00284, allocations: 0 / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.002876, allocations: 3.938 kB / 482.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.002967, allocations: 20.86 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.737e-05/0.003045, allocations: 8.859 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003149, allocations: 46.64 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.003262, allocations: 5.203 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.003385, allocations: 24.95 kB / 482.2 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.003443, allocations: 18.06 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.003466, allocations: 4.906 kB / 482.2 MB, free: 4.789 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.003474, allocations: 4 kB / 482.2 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.003498, allocations: 6.5 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.00353, allocations: 18.83 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003641, allocations: 29.88 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.003645, allocations: 1.125 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003646, allocations: 0 / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.003655, allocations: 0 / 482.2 MB, free: 4.738 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003757/0.00403, allocations: 252.6 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.004071, allocations: 12.66 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.004097, allocations: 1.562 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.004202, allocations: 122.3 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.004213, allocations: 0.9688 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-06/0.00422, allocations: 1.922 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.004351, allocations: 64.09 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004359, allocations: 4.188 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.004367, allocations: 1.188 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.004373, allocations: 1.25 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.004395, allocations: 13.22 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.004645, allocations: 156.2 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/0.004712, allocations: 22.58 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.004735, allocations: 13.59 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.004744, allocations: 4.906 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.00477, allocations: 31.59 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.004772, allocations: 1 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.000151/0.004923, allocations: 54.5 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.004972, allocations: 51.41 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.005058, allocations: 111.3 kB / 483.1 MB, free: 3.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.005075, allocations: 25.7 kB / 483.2 MB, free: 3.695 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.005126, allocations: 93.38 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.005162, allocations: 7.906 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.005203, allocations: 17.72 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.005348, allocations: 323.2 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.00537, allocations: 4 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.005388, allocations: 5.375 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.005429, allocations: 13.88 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.005432, allocations: 0 / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.295e-05/0.005515, allocations: 42.69 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.005535, allocations: 8 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.005542, allocations: 0 / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.005562, allocations: 4.719 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.005662, allocations: 11.98 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.005665, allocations: 0.8438 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.005691, allocations: 4 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.005698, allocations: 0.5938 kB / 483.7 MB, free: 3.148 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 (3): * Single equations (assignments): 3 * 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 7.872e-05/0.005777, allocations: 111.3 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.005796, allocations: 4.875 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.005832, allocations: 12 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.005837, allocations: 4.719 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.00584, allocations: 0 / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.005845, allocations: 0 / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.005966, allocations: 74.62 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005968, allocations: 0 / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.006001, allocations: 10 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.006005, allocations: 0 / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.006011, allocations: 0 / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.006012, allocations: 3.938 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.006014, allocations: 0 / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.006159, allocations: 145.2 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.006172, allocations: 11.95 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.006184, allocations: 0.5938 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.006224, allocations: 5.438 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.006273, allocations: 7.984 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.006281, allocations: 11.94 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.959e-05/0.006301, allocations: 17.14 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006301, allocations: 0.75 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001276/0.006429, allocations: 8 kB / 484.1 MB, free: 2.691 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 (3): * Single equations (assignments): 3 * 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 0.0001137/0.006542, allocations: 74.02 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.006624, allocations: 21.3 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.006628, allocations: 0.8125 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.838e-05/0.006646, allocations: 12.84 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.006836, allocations: 16.38 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.007189, allocations: 132.2 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.007245, allocations: 67.22 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.304e-05/0.007278, allocations: 4.594 kB / 484.4 MB, free: 2.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.007343, allocations: 53.12 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/0.007344, allocations: 0 / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of Templates: time 0.002794/0.01014, allocations: 0.6695 MB / 485.2 MB, free: 1.637 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7855275771580637]