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.001433/0.001433, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001742/0.001742, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.266/1.266, allocations: 203.8 MB / 0.5041 GB, free: 4.93 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 67.91 kB / 0.7187 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5888, allocations: 102 MB / 0.8184 GB, free: 29.21 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.002084/0.5909, allocations: 0.6937 MB / 0.8191 GB, free: 28.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.5919, allocations: 0.8384 MB / 0.8199 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.5919, allocations: 1.188 kB / 0.8199 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.592, allocations: 6.469 kB / 0.8199 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.592, allocations: 5.844 kB / 0.8199 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 5.589e-05/0.5921, allocations: 13.55 kB / 0.8199 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.5922, allocations: 44.92 kB / 0.8199 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.5923, allocations: 11.89 kB / 0.8199 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.5924, allocations: 22.08 kB / 0.82 GB, free: 28.1 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.5924, allocations: 18.86 kB / 0.82 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.5924, allocations: 5.094 kB / 0.82 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.5924, allocations: 4 kB / 0.82 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.5924, allocations: 6.672 kB / 0.82 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.5925, allocations: 21.39 kB / 0.82 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.5926, allocations: 39.75 kB / 0.8201 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5926, allocations: 1.219 kB / 0.8201 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5926, allocations: 1 kB / 0.8201 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5926, allocations: 0 / 0.8201 GB, free: 28.06 MB / 0.6387 GB 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.0004445/0.593, allocations: 294.5 kB / 0.8203 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5931, allocations: 10.84 kB / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.5931, allocations: 7.719 kB / 0.8204 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.5932, allocations: 110.8 kB / 0.8205 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5932, allocations: 2.844 kB / 0.8205 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.5932, allocations: 7.188 kB / 0.8205 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.5934, allocations: 68.84 kB / 0.8205 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5935, allocations: 1.531 kB / 0.8205 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5935, allocations: 8.938 kB / 0.8206 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5935, allocations: 0.5938 kB / 0.8206 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.5938, allocations: 64.56 kB / 0.8206 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.594, allocations: 237.4 kB / 0.8208 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.5942, allocations: 60.64 kB / 0.8209 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.5944, allocations: 48.89 kB / 0.8209 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.5944, allocations: 0.6875 kB / 0.8209 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.5944, allocations: 33.19 kB / 0.821 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5944, allocations: 3.438 kB / 0.821 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005247/0.595, allocations: 123.4 kB / 0.8211 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.595, allocations: 57.2 kB / 0.8212 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.595, allocations: 113.9 kB / 0.8213 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.5951, allocations: 30.31 kB / 0.8213 GB, free: 27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.5951, allocations: 83.67 kB / 0.8214 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.5951, allocations: 18.38 kB / 0.8214 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.5951, allocations: 13.02 kB / 0.8214 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.5952, allocations: 317.1 kB / 0.8217 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.5953, allocations: 38.17 kB / 0.8217 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.5955, allocations: 27.42 kB / 0.8218 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.5957, allocations: 66.81 kB / 0.8218 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5957, allocations: 5.406 kB / 0.8218 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003022/0.596, allocations: 104.3 kB / 0.8219 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5961, allocations: 7.281 kB / 0.8219 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.5961, allocations: 1.125 kB / 0.8219 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5961, allocations: 0 / 0.8219 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.5962, allocations: 20.33 kB / 0.822 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5962, allocations: 0 / 0.822 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.5963, allocations: 11.89 kB / 0.822 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.5963, allocations: 1.125 kB / 0.822 GB, free: 26.5 MB / 0.6387 GB 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 5.315e-05/0.5964, allocations: 117.9 kB / 0.8221 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.5964, allocations: 5.984 kB / 0.8221 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.5964, allocations: 10 kB / 0.8221 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5964, allocations: 1.219 kB / 0.8221 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5964, allocations: 4.703 kB / 0.8221 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5964, allocations: 0 / 0.8221 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.5966, allocations: 142.3 kB / 0.8222 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5966, allocations: 3.938 kB / 0.8222 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.594e-05/0.5966, allocations: 16.14 kB / 0.8223 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5967, allocations: 0.625 kB / 0.8223 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.5967, allocations: 1.094 kB / 0.8223 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5967, allocations: 0.7031 kB / 0.8223 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5967, allocations: 0 / 0.8223 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.597, allocations: 201.7 kB / 0.8225 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.597, allocations: 6.484 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.597, allocations: 1.391 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.5971, allocations: 11.3 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.5972, allocations: 7.734 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.5972, allocations: 5.828 kB / 0.8225 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.5972, allocations: 83.31 kB / 0.8226 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.5972, allocations: 0.5 kB / 0.8226 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002279/0.5974, allocations: 10.22 kB / 0.8226 GB, free: 25.95 MB / 0.6387 GB 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.0001012/0.5975, allocations: 92.58 kB / 0.8227 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.5979, allocations: 78.28 kB / 0.8227 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5979, allocations: 0 / 0.8227 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.5981, allocations: 34.61 kB / 0.8228 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.5984, allocations: 9.328 kB / 0.8228 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.5987, allocations: 129.9 kB / 0.8229 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.5989, allocations: 0.6844 MB / 0.8236 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.5989, allocations: 1.844 kB / 0.8236 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.5989, allocations: 9.125 kB / 0.8236 GB, free: 25 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.5989, allocations: 0 / 0.8236 GB, free: 25 MB / 0.6387 GB Notification: Performance of Templates: time 0.00335/0.6023, allocations: 0.6892 MB / 0.8243 GB, free: 24.93 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.817584166303277] Failed to read output from testmodel.py, exit status != 0: 0.6111438479274511 0.623341456 0.028079827 Calling exit ...