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.0007305/0.0007305, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007598/0.0007598, allocations: 177.9 kB / 23.21 MB, free: 1.344 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 0.8481/0.8481, allocations: 177.1 MB / 203.5 MB, free: 5.617 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-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 0.6778/0.6778, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 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.557e-06/3.557e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.255e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001911/0.001943, allocations: 0.677 MB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.00287, allocations: 0.8315 MB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.002904, allocations: 0 / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.00293, allocations: 3.938 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.002988, allocations: 11.94 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.613e-05/0.003044, allocations: 7.984 kB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.003121, allocations: 47.84 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.003217, allocations: 4 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.003293, allocations: 19.98 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.003333, allocations: 27.89 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.003358, allocations: 4 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.003364, allocations: 4 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.00338, allocations: 4 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.003402, allocations: 19.86 kB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.27e-05/0.003485, allocations: 35.94 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.003488, allocations: 0 / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/0.003491, allocations: 4 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.003494, allocations: 0 / 0.621 GB, free: 11.46 MB / 0.5886 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.0003686/0.003863, allocations: 294.2 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.003899, allocations: 9.469 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.003928, allocations: 8.891 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.00401, allocations: 105.8 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.004022, allocations: 4.375 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-06/0.00403, allocations: 384 / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.004195, allocations: 70.2 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.004202, allocations: 4.188 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.004211, allocations: 384 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004215, allocations: 384 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.004354, allocations: 75.8 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.00462, allocations: 204.6 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.004731, allocations: 62.41 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.004808, allocations: 48.91 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.004819, allocations: 0 / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.004839, allocations: 38.5 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.00484, allocations: 0 / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000296/0.005136, allocations: 125.5 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.005165, allocations: 55.41 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.005226, allocations: 109.8 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.005236, allocations: 25.7 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.005271, allocations: 92.08 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.005289, allocations: 11.89 kB / 0.6223 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.005316, allocations: 17.72 kB / 0.6223 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.005388, allocations: 310.8 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.005457, allocations: 31.95 kB / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.005519, allocations: 35.97 kB / 0.6227 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.005645, allocations: 68.72 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005647, allocations: 0 / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001515/0.005798, allocations: 93.62 kB / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.005812, allocations: 18.59 kB / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005817, allocations: 0 / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.005829, allocations: 0 / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.005904, allocations: 15.97 kB / 0.6229 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.005908, allocations: 4 kB / 0.6229 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.005942, allocations: 11.94 kB / 0.6229 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.005949, allocations: 8 kB / 0.6229 GB, free: 9.367 MB / 0.5886 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.705e-05/0.006006, allocations: 114.8 kB / 0.623 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.006018, allocations: 8 kB / 0.623 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.00604, allocations: 11.94 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.006043, allocations: 3.984 kB / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.006047, allocations: 0 / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.006049, allocations: 336 / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.531e-05/0.006134, allocations: 109.3 kB / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.006135, allocations: 0 / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.006173, allocations: 15.98 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006174, allocations: 0 / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.006179, allocations: 0 / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.006182, allocations: 11.88 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.006185, allocations: 3.984 kB / 0.6231 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.006372, allocations: 199.4 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-06/0.006377, allocations: 0 / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.006387, allocations: 0 / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.006437, allocations: 15.92 kB / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.006471, allocations: 11.86 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.006473, allocations: 8 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.006499, allocations: 83.28 kB / 0.6235 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006499, allocations: 0 / 0.6235 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001395/0.006638, allocations: 8 kB / 0.6235 GB, free: 8.711 MB / 0.5886 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 8.607e-05/0.006724, allocations: 99.23 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.006902, allocations: 67.92 kB / 0.6236 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006903, allocations: 4 kB / 0.6236 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-05/0.006969, allocations: 31.97 kB / 0.6237 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.00719, allocations: 4.547 kB / 0.6237 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.0077, allocations: 154.5 kB / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.007744, allocations: 67.3 kB / 0.6239 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.007774, allocations: 16.5 kB / 0.6239 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.007774, allocations: 0 / 0.6239 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of Templates: time 0.001511/0.009285, allocations: 0.7663 MB / 0.6246 GB, free: 7.453 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.912737140432] Failed to read output from testmodel.py, exit status != 0: 0.015576529316604137 0.022017742 0.016621868 Calling exit ...